Update CraftBukkit to Minecraft 1.5.2
This commit is contained in:
@@ -72,8 +72,8 @@ public class PendingConnection extends Connection {
|
||||
} else {
|
||||
PublicKey publickey = this.server.F().getPublic();
|
||||
|
||||
if (packet2handshake.d() != 60) {
|
||||
if (packet2handshake.d() > 60) {
|
||||
if (packet2handshake.d() != 61) {
|
||||
if (packet2handshake.d() > 61) {
|
||||
this.disconnect("Outdated server!");
|
||||
} else {
|
||||
this.disconnect("Outdated client!");
|
||||
@@ -148,7 +148,7 @@ public class PendingConnection extends Connection {
|
||||
|
||||
if (packet254getinfo.a == 1) {
|
||||
// CraftBukkit start - Fix decompile issues, don't create a list from an array
|
||||
Object[] list = new Object[] { 1, 60, this.server.getVersion(), pingEvent.getMotd(), playerlist.getPlayerCount(), pingEvent.getMaxPlayers() };
|
||||
Object[] list = new Object[] { 1, 61, this.server.getVersion(), pingEvent.getMotd(), playerlist.getPlayerCount(), pingEvent.getMaxPlayers() };
|
||||
|
||||
for (Object object : list) {
|
||||
if (s == null) {
|
||||
|
||||
Reference in New Issue
Block a user