Spoutcraft violates standards. Yay!

This commit is contained in:
md_5 2012-12-07 12:08:22 +11:00
parent 269dc7ee15
commit b4c13285ff

View File

@ -98,7 +98,13 @@ public class InitialHandler implements Runnable
: conf.motd + ChatColor.COLOR_CHAR + BungeeCord.instance.connections.size() + ChatColor.COLOR_CHAR + conf.maxPlayers;
throw new KickException(ping);
default:
throw new IllegalArgumentException("Wasn't ready for packet id " + Util.hex(id));
if (id == 0xFA)
{
run(); // WTF Spoutcraft
} else
{
// throw new IllegalArgumentException("Wasn't ready for packet id " + Util.hex(id));
}
}
} catch (KickException ex)
{