Updated to Minecraft version 1.4
This commit is contained in:
@@ -66,7 +66,7 @@ public class CraftWorld implements World {
|
||||
}
|
||||
|
||||
public Location getSpawnLocation() {
|
||||
ChunkCoordinates spawn = world.l();
|
||||
ChunkCoordinates spawn = world.m();
|
||||
return new Location(this, spawn.a, spawn.b, spawn.c);
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ public class CraftWorld implements World {
|
||||
}
|
||||
|
||||
public Chunk getChunkAt(int x, int z) {
|
||||
return this.provider.d(x,z).bukkitChunk;
|
||||
return this.provider.c(x, z).bukkitChunk;
|
||||
}
|
||||
|
||||
public Chunk getChunkAt(Block block) {
|
||||
@@ -124,7 +124,7 @@ public class CraftWorld implements World {
|
||||
return false;
|
||||
}
|
||||
|
||||
provider.c(x, z);
|
||||
provider.d(x, z);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -214,7 +214,7 @@ public class CraftWorld implements World {
|
||||
public boolean loadChunk(int x, int z, boolean generate) {
|
||||
if (generate) {
|
||||
// Use the default variant of loadChunk when generate == true.
|
||||
return provider.d(x, z) != null;
|
||||
return provider.c(x, z) != null;
|
||||
}
|
||||
|
||||
provider.a.remove(x, z);
|
||||
@@ -524,7 +524,7 @@ public class CraftWorld implements World {
|
||||
|
||||
public void save() {
|
||||
// Writes level.dat
|
||||
world.r();
|
||||
world.t();
|
||||
|
||||
// Saves all chunks/regions
|
||||
world.o.a(true, null);
|
||||
|
||||
Reference in New Issue
Block a user