Remove creative container open checks (lines up with 0.14)

This commit is contained in:
dktapps
2016-09-06 19:14:07 +01:00
committed by Dylan K. Taylor
parent 2a4f85107d
commit 42e8120961
5 changed files with 6 additions and 168 deletions

View File

@ -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));
}