Fixed porting issue with SpawnerCreature. Fixes BUKKIT-921

This commit is contained in:
Tahg 2012-03-02 11:12:33 -05:00
parent 5198f2efb4
commit cb669f72a0

View File

@ -100,7 +100,7 @@ public final class SpawnerCreature {
for (EntryBase base : b) { for (EntryBase base : b) {
ChunkEntry entry = (SpawnerCreature.ChunkEntry) base; ChunkEntry entry = (SpawnerCreature.ChunkEntry) base;
if (!entry.spawn) { if (!entry.spawn) {
ChunkPosition chunkposition = getRandomPosition(world, entry.getX() * 16, entry.getZ() * 16); ChunkPosition chunkposition = getRandomPosition(world, entry.getX(), entry.getZ());
// CraftBukkit end // CraftBukkit end
int k1 = chunkposition.x; int k1 = chunkposition.x;
int l1 = chunkposition.y; int l1 = chunkposition.y;