2020-05-06 11:48:49 +02:00
|
|
|
From 0000000000000000000000000000000000000000 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
|
2021-06-02 06:45:12 +02:00
|
|
|
Subject: [PATCH] Restore vanlla default mob-spawn-range and water animals
|
|
|
|
limit
|
2018-08-18 18:43:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
2021-05-16 01:42:36 +02:00
|
|
|
index 0efcbab8f8806aeb8dd8bd6384e5a7cee375d100..34ee684901906fc2ef5f0d09680d2686b813e52b 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-08-10 19:44:57 +02:00
|
|
|
@@ -165,7 +165,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 );
|
|
|
|
}
|
|
|
|
|
2021-06-02 06:45:12 +02:00
|
|
|
diff --git a/src/main/resources/configurations/bukkit.yml b/src/main/resources/configurations/bukkit.yml
|
|
|
|
index 6474a7fb738e1238cc272afc5ff14b645947e688..6d71bd0db752e6f523364ca5351579b6bcb434c8 100644
|
|
|
|
--- a/src/main/resources/configurations/bukkit.yml
|
|
|
|
+++ b/src/main/resources/configurations/bukkit.yml
|
|
|
|
@@ -26,7 +26,7 @@ settings:
|
|
|
|
spawn-limits:
|
|
|
|
monsters: 70
|
|
|
|
animals: 10
|
|
|
|
- water-animals: 15
|
|
|
|
+ water-animals: 5
|
|
|
|
water-ambient: 20
|
|
|
|
ambient: 15
|
|
|
|
chunk-gc:
|