mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00:00
Rebase!
This commit is contained in:
1 parent
316e703b90
commit
2789545d34
567 files changed
+5211
-6296
No files matched your search
@@ -81,7 +81,7 @@ public class ArrowEntity extends EntityArrow implements IEntityAdditionalSpawnDa
|
||||
{
|
||||
this.setDead();
|
||||
}
|
||||
|
||||
|
||||
if (this.prevRotationPitch == 0.0F && this.prevRotationYaw == 0.0F)
|
||||
{
|
||||
float f = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionZ * this.motionZ);
|
||||
@@ -240,7 +240,7 @@ public class ArrowEntity extends EntityArrow implements IEntityAdditionalSpawnDa
|
||||
}
|
||||
entity.setFire(fireAspect);
|
||||
}
|
||||
|
||||
|
||||
int drain = toolTags.getInteger("Necrotic") * 2;
|
||||
if (drain > 0 && shootingEntity != null && shootingEntity instanceof EntityLiving)
|
||||
((EntityLiving) shootingEntity).heal(random.nextInt(drain + 1));
|
||||
|
||||
Reference in new issue
Block a user