mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
PacketSerializer: fix merge error
This commit is contained in:
parent
74d103a56f
commit
66622defae
@ -287,7 +287,7 @@ class PacketSerializer extends BinaryStream{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!$extraData->feof()){
|
if(!$extraData->feof()){
|
||||||
throw new PacketDecodeException("Unexpected trailing extradata for network item $netId");
|
throw new PacketDecodeException("Unexpected trailing extradata for network item $id");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new ItemStack($id, $meta, $count, $blockRuntimeId, $compound, $canPlaceOn, $canDestroy, $shieldBlockingTick);
|
return new ItemStack($id, $meta, $count, $blockRuntimeId, $compound, $canPlaceOn, $canDestroy, $shieldBlockingTick);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user