aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches-Unmapped/0269-Restore-vanlla-default-mob-spawn-range.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-Server-Patches-Unmapped/0269-Restore-vanlla-default-mob-spawn-range.patch')
-rw-r--r--Spigot-Server-Patches-Unmapped/0269-Restore-vanlla-default-mob-spawn-range.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/Spigot-Server-Patches-Unmapped/0269-Restore-vanlla-default-mob-spawn-range.patch b/Spigot-Server-Patches-Unmapped/0269-Restore-vanlla-default-mob-spawn-range.patch
new file mode 100644
index 0000000000..85e9776191
--- /dev/null
+++ b/Spigot-Server-Patches-Unmapped/0269-Restore-vanlla-default-mob-spawn-range.patch
@@ -0,0 +1,19 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Aikar <[email protected]>
+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 5c394d26e2d2dbc5d65e38c1273b7e5d02464f3a..f0ad5fa235adfd165b8e56be7352568a3b3ae54a 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 );
+ }
+