Add isDead check to the petal apothecary. Fixes #35.

This commit is contained in:
Vasco Lavos committed 2014-05-09 22:11:39 +01:00
1 parent 63c50262b1
commit f3308ca85c
1 file changed
+1 -1
@@ -34,7 +34,7 @@ public class TileAltar extends TileSimpleInventory implements ISidedInventory {
public boolean collideEntityItem(EntityItem item) {
ItemStack stack = item.getEntityItem();
if(stack == null)
if(stack == null || item.isDead)
return false;
if(!hasWater) {