mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
EnderChest: Remove dead onBreak() code (follow-up to previous commit)
This commit is contained in:
@ -75,10 +75,6 @@ class EnderChest extends Chest{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function onBreak(Item $item, Player $player = null) : bool{
|
||||
return Block::onBreak($item, $player);
|
||||
}
|
||||
|
||||
public function onActivate(Item $item, Player $player = null) : bool{
|
||||
if($player instanceof Player){
|
||||
|
||||
|
Reference in New Issue
Block a user