mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 20:22:33 +00:00
Compiles in entity
This commit is contained in:
12 files changed
+73
-49
No files matched your search
@@ -75,7 +75,7 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
if(pos.entityHit != null && thrower != null && pos.entityHit != thrower && !pos.entityHit.isDead) {
|
||||
if(thrower instanceof EntityPlayer)
|
||||
pos.entityHit.attackEntityFrom(DamageSource.causePlayerDamage((EntityPlayer) thrower), Math.random() < 0.25 ? 10 : 5);
|
||||
else pos.entityHit.attackEntityFrom(DamageSource.generic, Math.random() < 0.25 ? 10 : 5);
|
||||
else pos.entityHit.attackEntityFrom(DamageSource.GENERIC, Math.random() < 0.25 ? 10 : 5);
|
||||
}
|
||||
|
||||
if (pos.getBlockPos() != null) {
|
||||
|
||||
Reference in new issue
Block a user