forked from LogBlock/LogBlock
Fixed logging chest accesses for workbenches
This commit is contained in:
@@ -36,7 +36,7 @@ class LBChestAccessListener extends InventoryListener
|
||||
|
||||
@Override
|
||||
public void onInventoryOpen(InventoryOpenEvent event) {
|
||||
if (!event.isCancelled() && event.getLocation() != null)
|
||||
if (!event.isCancelled() && event.getLocation() != null && event.getLocation().getBlock().getTypeId() != 58)
|
||||
containers.put(event.getPlayer().getName().hashCode(), compressInventory(event.getInventory().getContents()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user