fix ender chest issue

Former-commit-id: 76b398fda9f3217c81096a4bc1ef00c82955c8a7 [formerly c5475c0acf8c3c2bd273116727956fdd81f20486]
Former-commit-id: a844958b9e1c25389688a408f9a36672cbb6a046
This commit is contained in:
portlek committed 2019-11-26 00:26:15 +03:00
1 parent 448afc8ab9
commit db235a8034
1 file changed
+1 -3
@@ -111,9 +111,7 @@ public class Util {
return false;
}
if (b.getType() == Material.ENDER_CHEST) {
if(plugin.getOpenInvPlugin() == null){
return false;
}
return plugin.getOpenInvPlugin() != null;
}
return bs instanceof InventoryHolder;
}