mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@6b0b29a9 Update publishing endpoint PaperMC/Paper@f6fabc5f Call EntityChangeBlockEvent for copper golem statue changes (#13090) PaperMC/Paper@1d6ee7db Update adventure PaperMC/Paper@404e49fd Update to 1.21.9-rc1 PaperMC/Paper@40552742 Fix empty SkinPatch initialization and swapped dynamic/static heuristic in ResolvableProfile build method
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
@@ -67,7 +_,7 @@
|
||||
protected void randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) {
|
||||
if (level.spigotConfig.enableZombiePigmenPortalSpawns && level.dimensionType().natural() // Spigot
|
||||
&& level.getGameRules().getBoolean(GameRules.RULE_DOMOBSPAWNING)
|
||||
&& level.isSpawningMonsters()
|
||||
- && random.nextInt(2000) < level.getDifficulty().getId()
|
||||
+ && random.nextInt(level.purpurConfig.piglinPortalSpawnModifier) < level.getDifficulty().getId() // Purpur - Piglin portal spawn modifier
|
||||
&& level.anyPlayerCloseEnoughForSpawning(pos)) {
|
||||
|
||||
Reference in New Issue
Block a user