mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
Fix defaults for slime-spawn-height in paper config
do note that if you happened to grab the previous build in the few minutes it was alive, you'll want to reset your settings here also, i
This commit is contained in:
parent
31f01379ce
commit
6f0762c012
@ -1,12 +1,12 @@
|
||||
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 and water animals
|
||||
Subject: [PATCH] Restore vanilla default mob-spawn-range and water animals
|
||||
limit
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||
index 6c5113545914842ffb310522a7549ae7dd2466b2..21e0f9b4d3e1dc6e104bffdffcc23d62a739ab3c 100644
|
||||
index 1d802f0e81b3880e9bb7799ecd46826f4bdcee03..7acf96f2fbf807d4621ad3cfc9d9312adb255287 100644
|
||||
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||
@@ -184,7 +184,7 @@ public class SpigotWorldConfig
|
@ -5,16 +5,16 @@ Subject: [PATCH] Add configurable height for slime spawn
|
||||
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
index cd5a7bac92a1e733d69340f09bc35906138a6ce3..c6aa0bef1e7b9c30c0bd2d466d368ab38690246c 100644
|
||||
index cd5a7bac92a1e733d69340f09bc35906138a6ce3..e7c129c74ab808eb3dd2b4a249564f7804a28d01 100644
|
||||
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
|
||||
@@ -423,6 +423,16 @@ public class PaperWorldConfig {
|
||||
allChunksAreSlimeChunks = getBoolean("all-chunks-are-slime-chunks", false);
|
||||
}
|
||||
|
||||
+ public double slimeMaxSpawnHeightInSwamp;
|
||||
+ public double slimeMinSpawnHeightInSwamp;
|
||||
+ public double slimeMaxSpawnHeightInSlimeChunks;
|
||||
+ public double slimeMaxSpawnHeightInSwamp = 70;
|
||||
+ public double slimeMinSpawnHeightInSwamp = 50;
|
||||
+ public double slimeMaxSpawnHeightInSlimeChunks = 40;
|
||||
+ private void slimeSpawnHeight() {
|
||||
+ slimeMaxSpawnHeightInSwamp = getDouble("slime-spawn-height.swamp-biome.maximum", this.slimeMaxSpawnHeightInSwamp);
|
||||
+ slimeMinSpawnHeightInSwamp = getDouble("slime-spawn-height.swamp-biome.minimum", this.slimeMinSpawnHeightInSwamp);
|
||||
|
Loading…
Reference in New Issue
Block a user