mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-25 09:23:52 -07:00
Update for 1.1_01 renames.
We know these updates (can) break plugins bypassing Bukkit. They are needed for smooth updates however. There will be another one right before before 1.1-R1.
This commit is contained in:
@@ -66,7 +66,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;
|
||||
float f1 = MathHelper.a(d0 * d0 + d1 * d1) * 0.2F;
|
||||
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));
|
||||
this.world.addEntity(entitysnowball);
|
||||
@@ -87,7 +87,7 @@ public class EntitySnowman extends EntityGolem {
|
||||
super.a(nbttagcompound);
|
||||
}
|
||||
|
||||
protected int e() {
|
||||
protected int getLootId() {
|
||||
return Item.SNOW_BALL.id;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user