Updated version to 1.2.5-R0.1-SNAPSHOT

This commit is contained in:
Dinnerbone (Laptop)
2012-03-30 23:33:51 +02:00
parent e0c01154b0
commit 1fa4d8430e
15 changed files with 100 additions and 166 deletions

View File

@@ -29,9 +29,9 @@ public abstract class WorldGenerator {
protected void setTypeAndData(BlockChangeDelegate world, int i, int j, int k, int l, int i1) {
if (this.a) {
world.setTypeIdAndData(i, j, k, l, i1);
} else if (world instanceof World && ((World)world).getChunkAtWorldCoords(i, k).seenByPlayer) { // CraftBukkit - remove in next update
} else if (world instanceof World && ((World)world).getChunkAtWorldCoords(i, k).seenByPlayer) { // CraftBukkit
if (world.setRawTypeIdAndData(i, j, k, l, i1)) {
((World)world).notify(i, j, k);
((World)world).notify(i, j, k); // CraftBukkit - casty
}
} else {
world.setRawTypeIdAndData(i, j, k, l, i1);