mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-25 10:27:55 +01:00
Fixed porting issue with SpawnerCreature. Fixes BUKKIT-921
This commit is contained in:
parent
5198f2efb4
commit
cb669f72a0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user