mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-09-10 05:08:04 +02:00
Spoutcraft violates standards. Yay!
This commit is contained in:
parent
269dc7ee15
commit
b4c13285ff
@ -98,7 +98,13 @@ public class InitialHandler implements Runnable
|
|||||||
: conf.motd + ChatColor.COLOR_CHAR + BungeeCord.instance.connections.size() + ChatColor.COLOR_CHAR + conf.maxPlayers;
|
: conf.motd + ChatColor.COLOR_CHAR + BungeeCord.instance.connections.size() + ChatColor.COLOR_CHAR + conf.maxPlayers;
|
||||||
throw new KickException(ping);
|
throw new KickException(ping);
|
||||||
default:
|
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)
|
} catch (KickException ex)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user