entity fixes

This commit is contained in:
GameHerobrine 2022-11-10 13:27:22 +03:00
parent 834bb3d486
commit 394ede50e9
4 changed files with 35 additions and 90 deletions

View file

@ -8,6 +8,7 @@ class Painting extends Hanging{
$this->y = isset($this->data["TileY"]) ? $this->data["TileY"]:$this->y;
$this->z = isset($this->data["TileZ"]) ? $this->data["TileZ"]:$this->z;
$this->setHealth(1, "generic");
$this->canBeAttacked = true;
$this->width = 1;
$this->isStatic = true;
}
@ -28,4 +29,4 @@ class Painting extends Hanging{
$pk->title = $this->data["Motive"];
$player->dataPacket($pk);
}
}
}