mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
Fixed porting issue with SpawnerCreature. Fixes BUKKIT-921
This commit is contained in:
parent
5198f2efb4
commit
cb669f72a0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue