mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
painting wont be placed if there is a painting already
This commit is contained in:
parent
d1121e862e
commit
0963f09ea1
5 changed files with 35 additions and 16 deletions
|
|
@ -178,6 +178,7 @@ class Entity extends Position
|
|||
|
||||
break;
|
||||
case ENTITY_OBJECT:
|
||||
if($this->type == OBJECT_PAINTING) break;
|
||||
$this->x = $this->data["TileX"] ?? $this->x;
|
||||
$this->y = $this->data["TileY"] ?? $this->y;
|
||||
$this->z = $this->data["TileZ"] ?? $this->z;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue