mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Anvil fixes, improved memory settings
This commit is contained in:
@ -217,7 +217,7 @@ class Network{
|
||||
if($pk->pid() === Info::BATCH_PACKET){
|
||||
throw new \InvalidStateException("Invalid BatchPacket inside BatchPacket");
|
||||
}
|
||||
$pk->setBuffer(substr($str, $offset));
|
||||
$pk->setBuffer($str, $offset);
|
||||
$pk->decode();
|
||||
$p->handleDataPacket($pk);
|
||||
$offset += $pk->getOffset();
|
||||
|
Reference in New Issue
Block a user