diff options
author | Tahg <tahgtahv@gmail.com> | 2012-03-02 11:12:33 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2012-03-02 11:12:47 -0500 |
commit | cb669f72a04c9024c724ba362a66fa01d944d127 (patch) | |
tree | bedc1d4e0e65ca16f288e6f7afb75511bbba6064 /src | |
parent | 5198f2efb4c23078a31bff8ef5555b2f489c2062 (diff) | |
download | craftbukkit-cb669f72a04c9024c724ba362a66fa01d944d127.tar craftbukkit-cb669f72a04c9024c724ba362a66fa01d944d127.tar.gz craftbukkit-cb669f72a04c9024c724ba362a66fa01d944d127.tar.lz craftbukkit-cb669f72a04c9024c724ba362a66fa01d944d127.tar.xz craftbukkit-cb669f72a04c9024c724ba362a66fa01d944d127.zip |
Fixed porting issue with SpawnerCreature. Fixes BUKKIT-921
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/SpawnerCreature.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/SpawnerCreature.java b/src/main/java/net/minecraft/server/SpawnerCreature.java index 09806d7a..8e026aa6 100644 --- a/src/main/java/net/minecraft/server/SpawnerCreature.java +++ b/src/main/java/net/minecraft/server/SpawnerCreature.java @@ -100,7 +100,7 @@ public final class SpawnerCreature { for (EntryBase base : b) { ChunkEntry entry = (SpawnerCreature.ChunkEntry) base; if (!entry.spawn) { - ChunkPosition chunkposition = getRandomPosition(world, entry.getX() * 16, entry.getZ() * 16); + ChunkPosition chunkposition = getRandomPosition(world, entry.getX(), entry.getZ()); // CraftBukkit end int k1 = chunkposition.x; int l1 = chunkposition.y; |