mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 08:39:53 +00:00
Merge pull request #1099 from repeat83/patch-1
Fixed invalid indexes for Tile Entities
This commit is contained in:
commit
e659f435df
@ -175,8 +175,8 @@ class Level{
|
|||||||
$entities[] = array(
|
$entities[] = array(
|
||||||
"id" => $entity->type,
|
"id" => $entity->type,
|
||||||
"TileX" => $entity->x,
|
"TileX" => $entity->x,
|
||||||
"TileX" => $entity->y,
|
"TileY" => $entity->y,
|
||||||
"TileX" => $entity->z,
|
"TileZ" => $entity->z,
|
||||||
"Health" => $entity->health,
|
"Health" => $entity->health,
|
||||||
"Motive" => $entity->data["Motive"],
|
"Motive" => $entity->data["Motive"],
|
||||||
"Pos" => array(
|
"Pos" => array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user