mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-05 03:00:46 +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,
|
namespace: UUID.namespace.dns,
|
||||||
name: client.username
|
name: client.username
|
||||||
});
|
});
|
||||||
|
client.write('set_compression', { threshold: 256 }); // Default threshold is 256
|
||||||
|
client.compressionThreshold = 256;
|
||||||
var player=new Player();
|
var player=new Player();
|
||||||
player._client=client;
|
player._client=client;
|
||||||
for(var pluginName in playerPlugins) {
|
for(var pluginName in playerPlugins) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue