mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-12 17:07:55 -04:00
temporary fix for #2
This commit is contained in:
parent
99317330e4
commit
2e23cb61b7
@ -186,7 +186,8 @@ public class Network {
|
||||
connection.setConnectionState(ConnectionState.PLAY);
|
||||
} else if (packet instanceof PacketLoginSetCompression) {
|
||||
// instantly set compression. because handling is to slow...
|
||||
compressionThreshold = ((PacketLoginSetCompression) packet).getThreshold();
|
||||
// compressionThreshold = ((PacketLoginSetCompression) packet).getThreshold();
|
||||
compressionThreshold = Integer.MAX_VALUE; // FIXME: 29.07.20 see #2
|
||||
}
|
||||
connection.handle(packet);
|
||||
} catch (InstantiationException | IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user