Posted April 2, 20169 yr Hi guys, I have a really strange thing happening when trying to damage a mob found from a raytrace. This: [embed=425,349] if(hit.entityHit != null && hit.entityHit instanceof EntityLivingBase){ System.out.println(hit.entityHit); //Is returning the correct entity ((EntityLivingBase) hit.entityHit).attackEntityFrom(DamageSource.magic, 5F); //Is doing nothing } [/embed] The odd thing is that it's
April 2, 20169 yr Are you calling this on server? (!world.isRemote) 1.7.10 is no longer supported by forge, you are on your own.
April 3, 20169 yr Author Yes, this topic wasn't even supposed to post though, I figured it out while i was typing. I closed out of it, but it posted it anyway. odd.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.