Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
Fixed porting issue with SpawnerCreature. Fixes BUKKIT-921
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren