Fix ender-chest feature

Former-commit-id: a1ffe5a7cbc040d75c04c9ebe20e78e527ece593 [formerly c37357d8bc414fcfc1756553c7bf63f796506cca]
Former-commit-id: 7d88eefd4cedd59773f76b6e87a7dfe85a8a70b0
This commit is contained in:
Ghost_chu committed 2019-11-22 21:11:27 +08:00
1 parent 4ad753c833
commit d45961a9b7
1 file changed
+5 -3
@@ -106,10 +106,12 @@ public class Util {
if (plugin.getOpenInvPlugin() == null) {
return false;
}
}else{
if (!(bs instanceof InventoryHolder)) {
return false;
}
}
if (!(bs instanceof InventoryHolder)) {
return false;
}
if (!isShoppables(b.getType())) {
return false;
}