Update to mcdev rename revision 01 for 1.8.1

This commit is contained in:
Dinnerbone
2011-09-24 22:03:31 +01:00
parent 75ac4e00b2
commit 0118a20d6a
40 changed files with 322 additions and 324 deletions

View File

@@ -561,20 +561,20 @@ public class CraftWorld implements World {
}
public void save() {
boolean oldSave = world.canSave;
boolean oldSave = world.savingDisabled;
world.canSave = false;
world.savingDisabled = false;
world.save(true, null);
world.canSave = oldSave;
world.savingDisabled = oldSave;
}
public boolean isAutoSave() {
return !world.canSave;
return !world.savingDisabled;
}
public void setAutoSave(boolean value) {
world.canSave = !value;
world.savingDisabled = !value;
}
public boolean hasStorm() {
@@ -767,7 +767,7 @@ public class CraftWorld implements World {
// what is this, I don't even
} else if (Fish.class.isAssignableFrom(clazz)) {
// this is not a fish, it's a bobber, and it's probably useless
entity = new EntityFish(world);
entity = new EntityFishingHook(world);
entity.setLocation(x, y, z, pitch, yaw);
}