Added DEFLATEPacket protocol support

https://gist.github.com/shoghicp/5729825
This commit is contained in:
Shoghi Cervantes 2013-06-08 00:41:34 +02:00
parent 4f3700f13a
commit 1ce23ab8d7
6 changed files with 198 additions and 20 deletions

View file

@ -68,7 +68,7 @@ class PocketMinecraftServer{
$this->saveEnabled = true;
$this->tickMeasure = array_fill(0, 40, 0);
$this->setType("normal");
$this->interface = new MinecraftInterface("255.255.255.255", $this->port, true, false, $this->serverip);
$this->interface = new MinecraftInterface($this, "255.255.255.255", $this->port, true, false, $this->serverip);
$this->reloadConfig();
$this->stop = false;
$this->ticks = 0;