Fixed PacketPlayInPluginMessaging & Added default command /version

This commit is contained in:
LOOHP
2022-05-01 15:29:46 +01:00
parent 0ac9810554
commit effcbab3e4
11 changed files with 55 additions and 43 deletions
@@ -104,7 +104,7 @@ public class ServerProperties {
prop.store(pw, COMMENT);
pw.close();
protocol = Limbo.getInstance().serverImplementationProtocol;
protocol = Limbo.getInstance().SERVER_IMPLEMENTATION_PROTOCOL;
maxPlayers = Integer.parseInt(prop.getProperty("max-players"));
serverPort = Integer.parseInt(prop.getProperty("server-port"));
@@ -186,7 +186,7 @@ public class ServerProperties {
}
public String getServerImplementationVersion() {
return Limbo.getInstance().serverImplementationVersion;
return Limbo.getInstance().SERVER_IMPLEMENTATION_VERSION;
}
public String getServerModName() {