From 5991387f223fe3a89208ac7f85344328e475f220 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Wed, 20 Jan 2016 21:35:14 -0600 Subject: [PATCH] Actually close #59 --- .../java/vazkii/botania/common/entity/EntityThornChakram.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java b/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java index d4ca7a69e..7a2d40509 100644 --- a/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java +++ b/src/main/java/vazkii/botania/common/entity/EntityThornChakram.java @@ -126,7 +126,7 @@ public class EntityThornChakram extends EntityThrowable { pos.entityHit.setFire(5); else if(worldObj.rand.nextInt(3) == 0) ((EntityLivingBase) pos.entityHit).addPotionEffect(new PotionEffect(Potion.poison.id, 60, 0)); - } else { + } else if (pos.getBlockPos() != null) { int bounces = getTimesBounced(); if(bounces < MAX_BOUNCES) { Vector3 currentMovementVec = new Vector3(motionX, motionY, motionZ);