diff --git a/src/pocketmine/level/particle/FloatingTextParticle.php b/src/pocketmine/level/particle/FloatingTextParticle.php index 2a9eac292..201dfd835 100644 --- a/src/pocketmine/level/particle/FloatingTextParticle.php +++ b/src/pocketmine/level/particle/FloatingTextParticle.php @@ -66,7 +66,7 @@ class FloatingTextParticle extends Particle{ $p = []; if($this->entityId === null){ - $this->entityId = bcadd("1095216660480", mt_rand(0, 0x7fffffff)); //No conflict with other things + $this->entityId = (int) bcadd("1095216660480", mt_rand(0, 0x7fffffff)); //No conflict with other things }else{ $pk0 = new RemoveEntityPacket(); $pk0->eid = $this->entityId;