mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Remove creative container open checks (lines up with 0.14)
This commit is contained in:
@ -60,10 +60,6 @@ class Anvil extends Fallable{
|
||||
|
||||
public function onActivate(Item $item, Player $player = null){
|
||||
if($player instanceof Player){
|
||||
if($player->isCreative()){
|
||||
return true;
|
||||
}
|
||||
|
||||
$player->addWindow(new AnvilInventory($this));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user