From cb669f72a04c9024c724ba362a66fa01d944d127 Mon Sep 17 00:00:00 2001 From: Tahg Date: Fri, 2 Mar 2012 11:12:33 -0500 Subject: [PATCH] Fixed porting issue with SpawnerCreature. Fixes BUKKIT-921 --- src/main/java/net/minecraft/server/SpawnerCreature.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/SpawnerCreature.java b/src/main/java/net/minecraft/server/SpawnerCreature.java index 09806d7aba..8e026aa698 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;