mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
Starcaller recipe/docs.
This commit is contained in:
1 parent
fb8e92677d
commit
fa239f3686
6 files changed
+23
-2
No files matched your search
@@ -70,8 +70,8 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
EntityLivingBase thrower = getThrower();
|
||||
if(pos.entityHit != null && thrower != null && pos.entityHit != thrower && !pos.entityHit.isDead) {
|
||||
if(thrower instanceof EntityPlayer)
|
||||
pos.entityHit.attackEntityFrom(DamageSource.causePlayerDamage((EntityPlayer) thrower), 7);
|
||||
else pos.entityHit.attackEntityFrom(DamageSource.generic, 7);
|
||||
pos.entityHit.attackEntityFrom(DamageSource.causePlayerDamage((EntityPlayer) thrower), 10);
|
||||
else pos.entityHit.attackEntityFrom(DamageSource.generic, 10);
|
||||
}
|
||||
|
||||
Block block = worldObj.getBlock(pos.blockX, pos.blockY, pos.blockZ);
|
||||
|
||||
Reference in new issue
Block a user