Added TileEntity::setText(1,2,3,4)

This commit is contained in:
Shoghi Cervantes 2013-05-28 23:35:33 +02:00
parent 58fd67d2ed
commit 0d12039623
3 changed files with 33 additions and 22 deletions

View file

@ -117,9 +117,9 @@ class EntityAPI{
$item->count = min($item->getMaxStackSize(), $count);
$count -= $item->count;
$e = $this->add($pos->level, ENTITY_ITEM, $item->getID(), $data);
//$e->speedX = mt_rand(-10, 10) / 100;
//$e->speedY = mt_rand(0, 5) / 100;
//$e->speedZ = mt_rand(-10, 10) / 100;
$e->speedX = mt_rand(-10, 10) / 100;
$e->speedY = mt_rand(0, 5) / 100;
$e->speedZ = mt_rand(-10, 10) / 100;
$this->spawnToAll($pos->level, $e->eid);
}
}