Restore vanilla water animal limit

Spotted by pheonix616, merged into a similar patch for the sake of
the patch numbers :o
This commit is contained in:
Shane Freeder 2021-06-02 05:45:12 +01:00
parent ea381dde32
commit acbb69e671
No known key found for this signature in database
GPG Key ID: A3F61EA5A085289C
1 changed files with 16 additions and 1 deletions

View File

@ -1,8 +1,10 @@
From 0000000000000000000000000000000000000000 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
Subject: [PATCH] Restore vanlla default mob-spawn-range and water animals
limit
fixup! 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 0efcbab8f8806aeb8dd8bd6384e5a7cee375d100..34ee684901906fc2ef5f0d09680d2686b813e52b 100644
@ -17,3 +19,16 @@ index 0efcbab8f8806aeb8dd8bd6384e5a7cee375d100..34ee684901906fc2ef5f0d09680d2686
log( "Mob Spawn Range: " + mobSpawnRange );
}
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: