Fixed porting issue with SpawnerCreature. Fixes BUKKIT-921

Dieser Commit ist enthalten in:
Tahg 2012-03-02 11:12:33 -05:00
Ursprung 5198f2efb4
Commit cb669f72a0

Datei anzeigen

@ -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;