2019-05-06 04:58:04 +02:00
|
|
|
From 03205b4f5796f847bb314d09a718e08bbf9d92cb Mon Sep 17 00:00:00 2001
|
2018-08-18 18:43:44 +02:00
|
|
|
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-06 04:58:04 +02:00
|
|
|
index 9a51c0ef7a..c2bf481a60 100644
|
2018-08-18 18:43:44 +02:00
|
|
|
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
2019-05-06 04:58:04 +02:00
|
|
|
@@ -152,7 +152,7 @@ public class SpigotWorldConfig
|
2018-08-18 18:43:44 +02:00
|
|
|
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 );
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2019-03-20 02:46:00 +01:00
|
|
|
2.21.0
|
2018-08-18 18:43:44 +02:00
|
|
|
|