diff --git a/builds/[1.7.10]TerraFirmaPunkTweaks-1.02.jar b/builds/[1.7.10]TerraFirmaPunkTweaks-1.02.jar index 02e346e..e35c3fb 100644 Binary files a/builds/[1.7.10]TerraFirmaPunkTweaks-1.02.jar and b/builds/[1.7.10]TerraFirmaPunkTweaks-1.02.jar differ diff --git a/builds/[1.7.10]TerraFirmaPunkTweaks-deobf-1.02.jar b/builds/[1.7.10]TerraFirmaPunkTweaks-deobf-1.02.jar index ac11f17..21a33f4 100644 Binary files a/builds/[1.7.10]TerraFirmaPunkTweaks-deobf-1.02.jar and b/builds/[1.7.10]TerraFirmaPunkTweaks-deobf-1.02.jar differ diff --git a/builds/[1.7.10]TerraFirmaPunkTweaks-src-1.02.jar b/builds/[1.7.10]TerraFirmaPunkTweaks-src-1.02.jar index 391ef36..cbe8617 100644 Binary files a/builds/[1.7.10]TerraFirmaPunkTweaks-src-1.02.jar and b/builds/[1.7.10]TerraFirmaPunkTweaks-src-1.02.jar differ diff --git a/src/main/java/com/onewolfe/tfptweaks/PlayerHandler.java b/src/main/java/com/onewolfe/tfptweaks/PlayerHandler.java index 98d63ef..b624c8f 100644 --- a/src/main/java/com/onewolfe/tfptweaks/PlayerHandler.java +++ b/src/main/java/com/onewolfe/tfptweaks/PlayerHandler.java @@ -5,7 +5,6 @@ import java.util.Random; import com.bioxx.tfc.api.TFCBlocks; import cpw.mods.fml.common.eventhandler.SubscribeEvent; -import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; @@ -41,7 +40,7 @@ public class PlayerHandler @SubscribeEvent public void onDamaged(LivingHurtEvent event) { - if(event.ammount <= 20 && event.entity instanceof EntityPlayer) + if(event.entity instanceof EntityPlayer && event.source == DamageSource.magic && event.ammount <= 20) { event.ammount = event.ammount * 50;