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:
Erik Broes committed 2012-01-15 10:52:37 +01:00
1 parent 6495eee0c9
commit 61ec751ca1
85 files changed
+466 -456

No files matched your search

@@ -91,7 +91,7 @@ public class EntitySpider extends EntityMonster {
if (this.onGround) {
double d0 = entity.locX - this.locX;
double d1 = entity.locZ - this.locZ;
float f2 = MathHelper.a(d0 * d0 + d1 * d1);
float f2 = MathHelper.sqrt(d0 * d0 + d1 * d1);
this.motX = d0 / (double) f2 * 0.5D * 0.800000011920929D + this.motX * 0.20000000298023224D;
this.motZ = d1 / (double) f2 * 0.5D * 0.800000011920929D + this.motZ * 0.20000000298023224D;
@@ -111,7 +111,7 @@ public class EntitySpider extends EntityMonster {
super.a(nbttagcompound);
}
protected int e() {
protected int getLootId() {
return Item.STRING.id;
}