Update CraftBukkit to Minecraft 1.5.2

This commit is contained in:
Travis Watkins
2013-04-27 04:40:05 -05:00
parent 83c3aa188b
commit 799779e4b1
53 changed files with 317 additions and 268 deletions

View File

@@ -138,7 +138,7 @@ public class CustomChunkGenerator extends InternalChunkGenerator {
if (blk != 0) { // If non-empty
if (cs == null) { // If no section yet, get one
cs = csect[sec] = new ChunkSection(sec << 4, true);
csbytes = cs.g();
csbytes = cs.getIdArray();
}
csbytes[(cy << 8) | (cz << 4) | cx] = blk;
}
@@ -147,7 +147,7 @@ public class CustomChunkGenerator extends InternalChunkGenerator {
}
// If section built, finish prepping its state
if (cs != null) {
cs.d();
cs.recalcBlockCounts();
}
}
}
@@ -225,4 +225,6 @@ public class CustomChunkGenerator extends InternalChunkGenerator {
public String getName() {
return "CustomChunkGenerator";
}
public void b() {}
}

View File

@@ -81,4 +81,6 @@ public class NormalChunkGenerator extends InternalChunkGenerator {
public String getName() {
return "NormalWorldGenerator";
}
public void b() {}
}