mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +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;
|
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{
|
public function onActivate(Item $item, Player $player = null) : bool{
|
||||||
if($player instanceof Player){
|
if($player instanceof Player){
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user