A few fixes!

This commit is contained in:
Shoghi Cervantes
2015-03-21 00:45:20 +01:00
parent 652987110a
commit add380c7ed
10 changed files with 55 additions and 25 deletions

View File

@ -79,10 +79,10 @@ class FloatingTextParticle extends Particle{
$pk = new AddPlayerPacket();
$pk->eid = $this->entityId;
$pk->username = $this->title . "\n" . $this->text;
$pk->username = $this->title . ($this->text !== "" ? "\n" . $this->text : "");
$pk->clientID = $this->entityId;
$pk->x = $this->x;
$pk->y = $this->y - 2;
$pk->y = $this->y - 2.5;
$pk->z = $this->z;
$pk->yaw = 0;
$pk->pitch = 0;