2021-06-11 14:02:28 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
Date: Sat, 18 Aug 2018 12:43:16 -0400
|
2022-01-11 03:55:05 +01:00
|
|
|
Subject: [PATCH] Restore vanilla default mob-spawn-range and water animals
|
2021-06-11 14:02:28 +02:00
|
|
|
limit
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
2022-01-11 03:55:05 +01:00
|
|
|
index 1d802f0e81b3880e9bb7799ecd46826f4bdcee03..7acf96f2fbf807d4621ad3cfc9d9312adb255287 100644
|
2021-06-11 14:02:28 +02:00
|
|
|
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
|
|
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
2021-12-01 19:03:46 +01:00
|
|
|
@@ -184,7 +184,7 @@ public class SpigotWorldConfig
|
2021-06-11 14:02:28 +02:00
|
|
|
public byte mobSpawnRange;
|
|
|
|
private void mobSpawnRange()
|
|
|
|
{
|
2021-06-13 01:45:00 +02:00
|
|
|
- this.mobSpawnRange = (byte) this.getInt( "mob-spawn-range", 6 );
|
|
|
|
+ this.mobSpawnRange = (byte) getInt( "mob-spawn-range", 8 ); // Paper - Vanilla
|
|
|
|
this.log( "Mob Spawn Range: " + this.mobSpawnRange );
|
2021-06-11 14:02:28 +02:00
|
|
|
}
|
|
|
|
|