summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTahg <tahgtahv@gmail.com>2012-03-02 11:12:33 -0500
committerTahg <tahgtahv@gmail.com>2012-03-02 11:12:47 -0500
commitcb669f72a04c9024c724ba362a66fa01d944d127 (patch)
treebedc1d4e0e65ca16f288e6f7afb75511bbba6064 /src
parent5198f2efb4c23078a31bff8ef5555b2f489c2062 (diff)
downloadcraftbukkit-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.java2
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;