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

@ -86,9 +86,6 @@ class EnchantingTable extends Transparent{
public function onActivate(Item $item, Player $player = null){
if($player instanceof Player){
//TODO lock
if($player->isCreative()){
return true;
}
$player->addWindow(new EnchantInventory($this));
}