isSneaking() && $this->onInteractCopper($item, $face, $clickVector, $player, $returnedItems)) { //copy copper properties to other half $other = $this->getSide($this->top ? Facing::DOWN : Facing::UP); $world = $this->position->getWorld(); if ($other instanceof CopperDoor) { $other->setOxidation($this->oxidation); $other->setWaxed($this->waxed); $world->setBlock($other->position, $other); } return true; } return parent::onInteract($item, $face, $clickVector, $player, $returnedItems); } }