mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Renamed old getID() calls to getId()
This commit is contained in:
@ -82,7 +82,7 @@ class Painting extends Item{
|
||||
//$e = $server->api->entity->add($level, ENTITY_OBJECT, OBJECT_PAINTING, $data);
|
||||
//$e->spawnToAll();
|
||||
/*if(($player->gamemode & 0x01) === 0x00){
|
||||
$player->removeItem(Item::get($this->getID(), $this->getDamage(), 1));
|
||||
$player->removeItem(Item::get($this->getId(), $this->getDamage(), 1));
|
||||
}*/
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user