diff --git a/src/pocketmine/network/mcpe/protocol/ExplodePacket.php b/src/pocketmine/network/mcpe/protocol/ExplodePacket.php index df7d86cb2..66daa8bf4 100644 --- a/src/pocketmine/network/mcpe/protocol/ExplodePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ExplodePacket.php @@ -62,7 +62,7 @@ class ExplodePacket extends DataPacket{ $this->putUnsignedVarInt(count($this->records)); if(count($this->records) > 0){ foreach($this->records as $record){ - $this->putSignedBlockPosition($record->x, $record->y, $record->z); + $this->putSignedBlockPosition((int) $record->x, (int) $record->y, (int) $record->z); } } } @@ -71,4 +71,4 @@ class ExplodePacket extends DataPacket{ return $session->handleExplode($this); } -} \ No newline at end of file +}