mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Fixed effect entity id
This commit is contained in:
@ -1228,7 +1228,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
|
||||
public function setDataProperty($id, $type, $value){
|
||||
if(parent::setDataProperty($id, $type, $value)){
|
||||
$this->sendData([$this], [$id => $this->dataProperties[$id]]);
|
||||
$this->sendData($this, [$id => $this->dataProperties[$id]]);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user