mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Remove unnecessary access transforming
This commit is contained in:
1 parent
780387a6d5
commit
ca417349b6
5 files changed
+8
-39
No files matched your search
@@ -206,7 +206,7 @@ public class ArrowEntity extends EntityArrow implements IEntityAdditionalSpawnDa
|
||||
if (movingobjectposition.entityHit != null)
|
||||
{
|
||||
speed = MathHelper.sqrt_double(this.motionX * this.motionX + this.motionY * this.motionY + this.motionZ * this.motionZ);
|
||||
double damageSpeed = (double) speed * this.damage;
|
||||
double damageSpeed = (double) speed * this.getDamage();
|
||||
damageSpeed *= baseDamage;
|
||||
damageSpeed /= 5D;
|
||||
int damageInflicted = MathHelper.ceiling_double_int(damageSpeed);
|
||||
|
||||
Reference in new issue
Block a user