mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-11-08 11:50:14 +01:00
Fixed Trapped-Chest Shops
This commit is contained in:
parent
9a5304921a
commit
9d3b1d7226
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user