Fixed Trapped-Chest Shops

This commit is contained in:
Eric 2015-09-03 13:43:40 +02:00
parent 9a5304921a
commit 9d3b1d7226

View File

@ -80,7 +80,7 @@ public class Shop {
Block b = shopLocation.getBlock();
if (b.getType().equals(Material.CHEST)) {
if (b.getType().equals(Material.CHEST) || b.getType().equals(Material.TRAPPED_CHEST)) {
Chest c = (Chest) b.getState();
InventoryHolder ih = c.getInventory().getHolder();