testserver/Spigot-Server-Patches/0291-Restore-vanlla-default...

23 lines
802 B
Diff
Raw Normal View History

2019-05-14 02:20:58 +00:00
From 4c96032b5b18ebc5509bf2fb920bf682f22bd52b 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
2019-05-14 02:20:58 +00:00
index 9a51c0ef7..c2bf481a6 100644
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
2019-05-06 02:58:04 +00:00
@@ -152,7 +152,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.21.0