13
0
geforkt von Mirrors/Paper

Fix Paper comments

Dieser Commit ist enthalten in:
Nassim Jahnke 2021-11-24 10:20:21 +01:00
Ursprung 1f77146c5c
Commit aba531dd60

Datei anzeigen

@ -666,9 +666,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
object2intopenhashmap.addTo(enumcreaturetype, 1);
+ // Paper start
+ if (countMobs) {
+ chunk.level.getChunkSource().chunkMap.updatePlayerMobTypeMap(entity);
+ }
+ // Paper end
});
}
}
@ -721,7 +723,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- NaturalSpawner.spawnCategoryForPosition(group, world, chunk, blockposition, checker, runner);
+ return NaturalSpawner.spawnCategoryForPosition(group, world, chunk, blockposition, checker, runner, maxSpawns, trackEntity); // Paper
}
+ return 0; // paper
+ return 0; // Paper
}
@VisibleForDebug