mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-11 02:21:18 +00:00
force compression
This commit is contained in:
parent
0c738d1b74
commit
06770fc23f
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ function inject(serv,options)
|
|||
namespace: UUID.namespace.dns,
|
||||
name: client.username
|
||||
});
|
||||
client.write('set_compression', { threshold: 256 }); // Default threshold is 256
|
||||
client.compressionThreshold = 256;
|
||||
var player=new Player();
|
||||
player._client=client;
|
||||
for(var pluginName in playerPlugins) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue