diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-23 14:32:00 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-03-23 14:32:00 +0000 |
commit | 6ef950041077229514fb68f7ce87d664e3361bb6 (patch) | |
tree | 67051bd518670d2d93355fe81b593a95a7e2d896 /src/main/java/net/minecraft/server/WorldGenerator.java | |
parent | 40e096273576ec5f0f49490f3167095d8678cbd8 (diff) | |
download | craftbukkit-6ef950041077229514fb68f7ce87d664e3361bb6.tar craftbukkit-6ef950041077229514fb68f7ce87d664e3361bb6.tar.gz craftbukkit-6ef950041077229514fb68f7ce87d664e3361bb6.tar.lz craftbukkit-6ef950041077229514fb68f7ce87d664e3361bb6.tar.xz craftbukkit-6ef950041077229514fb68f7ce87d664e3361bb6.zip |
Fixed fatal crash at world generation.
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldGenerator.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/WorldGenerator.java b/src/main/java/net/minecraft/server/WorldGenerator.java index cd41fa4b..5787b17e 100644 --- a/src/main/java/net/minecraft/server/WorldGenerator.java +++ b/src/main/java/net/minecraft/server/WorldGenerator.java @@ -29,7 +29,7 @@ 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 >> 4, k >> 4).seenByPlayer) { + } else if (world instanceof World && ((World)world).getChunkAtWorldCoords(i, k).seenByPlayer) { // CraftBukkit - remove in next update if (world.setRawTypeIdAndData(i, j, k, l, i1)) { ((World)world).notify(i, j, k); } |