diff --git a/src/com/cnaude/chairs/ChairEffects.java b/src/com/cnaude/chairs/ChairEffects.java index c48f1a6..73df5f8 100644 --- a/src/com/cnaude/chairs/ChairEffects.java +++ b/src/com/cnaude/chairs/ChairEffects.java @@ -85,8 +85,11 @@ public class ChairEffects { for (Entity entity : p.getNearbyEntities(1, 1, 1)) { if (entity instanceof Item) { if (p.getInventory().firstEmpty() != -1) { - p.getInventory().addItem(Item.class.cast(entity).getItemStack()); - entity.remove(); + Item item = Item.class.cast(entity); + if (item.getPickupDelay() == 0) { + p.getInventory().addItem(item.getItemStack()); + entity.remove(); + } } } }