Fix serverside. Closes #28

This commit is contained in:
fewizz committed 2016-09-24 14:29:33 +03:00
1 parent 4d98a5691a
commit 022137be62
7 files changed
+38 -26

No files matched your search

@@ -116,10 +116,10 @@ public class EntityEnergyBall extends Entity implements IProjectile, IEntityAddi
entities.add(entity);
/** Closer - Harder */
entity.attackEntityFrom(DamageSource.magic, (float) (RADIUS - hyp));
entity.performHurtAnimation();
if(worldObj.isRemote)
if(worldObj.isRemote) {
Thaumcraft.proxy.bolt(worldObj, this, entity);
}
}
}