mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
EnderChest: Remove dead onBreak() code (follow-up to previous commit)
This commit is contained in:
parent
6ce728169e
commit
1bdb68b7da
@ -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){
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user