fix FloatingTextParticle

This commit is contained in:
Dylan K. Taylor 2017-06-03 20:51:48 +01:00
parent 5baf59ca56
commit 4ba3a3af3d

View File

@ -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;