diff --git a/src/material/block/nonfull/WoodDoor.php b/src/material/block/nonfull/WoodDoor.php index cdb48404..0e1b29c2 100644 --- a/src/material/block/nonfull/WoodDoor.php +++ b/src/material/block/nonfull/WoodDoor.php @@ -27,7 +27,7 @@ class WoodDoorBlock extends DoorBlock{ } public function onUpdate($type){ - if($type === BLOCK_UPDATE_NORMAL){ + if($type === BLOCK_UPDATE_NORMAL and $meta == 0x8){ if($this->getSide(0)->getID() === AIR){ //Replace with common break method ServerAPI::request()->api->entity->drop($this, BlockAPI::getItem($this->id, $this->meta, 1)); $this->level->setBlock($this, new AirBlock(), true, false, true);