mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-24 08:43:49 -07:00
Updated to rename revision 02
This commit is contained in:
@@ -65,7 +65,7 @@ public class EntitySnowman extends EntityGolem {
|
||||
|
||||
if (this.attackTicks == 0) {
|
||||
EntitySnowball entitysnowball = new EntitySnowball(this.world, this);
|
||||
double d2 = entity.locY + (double) entity.y() - 1.100000023841858D - entitysnowball.locY;
|
||||
double d2 = entity.locY + (double) entity.getHeadHeight() - 1.100000023841858D - entitysnowball.locY;
|
||||
float f1 = MathHelper.sqrt(d0 * d0 + d1 * d1) * 0.2F;
|
||||
|
||||
this.world.makeSound(this, "random.bow", 1.0F, 1.0F / (this.random.nextFloat() * 0.4F + 0.8F));
|
||||
@@ -103,4 +103,4 @@ public class EntitySnowman extends EntityGolem {
|
||||
CraftEventFactory.callEntityDeathEvent(this, loot);
|
||||
// CraftBukkit end
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user