mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Save paintings
This commit is contained in:
parent
a7079fc49b
commit
8d232cf623
@ -359,7 +359,7 @@ class PocketMinecraftServer{
|
||||
if(count($this->entities) > 0){
|
||||
$entities = array();
|
||||
foreach($this->entities as $entity){
|
||||
if($entity->class === ENTITY_MOB){
|
||||
if($entity->class === ENTITY_MOB or $entity->class === ENTITY_OBJECT){
|
||||
$entities[] = array(
|
||||
"id" => $entity->type,
|
||||
"Color" => @$entity->data["Color"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user