Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 20:40:07 +01:00
e4602b6d48
This patch appears to be no longer relevant, and is seemingly a leading cause of datapack performance being horrific
23 Zeilen
802 B
Diff
23 Zeilen
802 B
Diff
From a485890b51d7dd81b18da68b6039681d20e34dc2 Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Sat, 18 Aug 2018 12:43:16 -0400
|
|
Subject: [PATCH] Restore vanlla default mob-spawn-range
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
index 4965a48c3..58767972a 100644
|
|
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
@@ -165,7 +165,7 @@ public class SpigotWorldConfig
|
|
public byte mobSpawnRange;
|
|
private void mobSpawnRange()
|
|
{
|
|
- mobSpawnRange = (byte) getInt( "mob-spawn-range", 6 );
|
|
+ mobSpawnRange = (byte) getInt( "mob-spawn-range", 8 ); // Paper - Vanilla
|
|
log( "Mob Spawn Range: " + mobSpawnRange );
|
|
}
|
|
|
|
--
|
|
2.25.1
|
|
|