fix ohio exploit
This commit is contained in:
parent
81637be24f
commit
3ae3e5c37b
1 changed files with 6 additions and 1 deletions
|
@ -45,7 +45,12 @@ public class Client {
|
||||||
@Override public void packetReceived(Session session, Packet packet) { for (SessionListener listener : listeners) listener.packetReceived(session, packet); }
|
@Override public void packetReceived(Session session, Packet packet) { for (SessionListener listener : listeners) listener.packetReceived(session, packet); }
|
||||||
@Override public void packetSending (PacketSendingEvent event) { for (SessionListener listener : listeners) listener.packetSending(event); }
|
@Override public void packetSending (PacketSendingEvent event) { for (SessionListener listener : listeners) listener.packetSending(event); }
|
||||||
@Override public void packetSent (Session session, Packet packet) { for (SessionListener listener : listeners) listener.packetSent(session, packet); }
|
@Override public void packetSent (Session session, Packet packet) { for (SessionListener listener : listeners) listener.packetSent(session, packet); }
|
||||||
@Override public void packetError (PacketErrorEvent event) { for (SessionListener listener : listeners) listener.packetError(event); }
|
|
||||||
|
@Override public void packetError (PacketErrorEvent event) {
|
||||||
|
event.getCause().printStackTrace();
|
||||||
|
for (SessionListener listener : listeners) listener.packetError(event);
|
||||||
|
}
|
||||||
|
|
||||||
@Override public void connected (ConnectedEvent event) { for (SessionListener listener : listeners) listener.connected(event); }
|
@Override public void connected (ConnectedEvent event) { for (SessionListener listener : listeners) listener.connected(event); }
|
||||||
@Override public void disconnecting (DisconnectingEvent event) { for (SessionListener listener : listeners) listener.disconnecting(event); }
|
@Override public void disconnecting (DisconnectingEvent event) { for (SessionListener listener : listeners) listener.disconnecting(event); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue