minecart entity tweaks

This commit is contained in:
GameHerobrine 2023-10-28 16:20:13 +03:00
parent 39bfa7115d
commit b362f262f4
7 changed files with 23 additions and 19 deletions

View file

@ -62,7 +62,7 @@ class Minecart extends Vehicle{
$this->x = isset($this->data["TileX"]) ? $this->data["TileX"]:$this->x;
$this->y = isset($this->data["TileY"]) ? $this->data["TileY"]:$this->y;
$this->z = isset($this->data["TileZ"]) ? $this->data["TileZ"]:$this->z;
$this->setHealth(3, "generic");
$this->setHealth(1, "generic"); //orig: 3
$this->width = 0.98;
$this->height = 0.7;
$this->update();