9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-28 11:29:12 +00:00
This commit is contained in:
violetc
2023-02-16 16:34:54 +08:00
parent feed75aa92
commit 5fb46fa7a7
48 changed files with 111 additions and 109 deletions

View File

@@ -95,10 +95,10 @@ index 82b588b0736f18d265c1ab269fcbd4e47509d61e..e8492a1bbf306473116974bde751b814
// world.serverLevelData.setDifficulty(config.difficulty); // Paper - per level difficulty
world.setSpawnSettings(world.serverLevelData.getDifficulty() != Difficulty.PEACEFUL && config.spawnMonsters, config.spawnAnimals); // Paper - per level difficulty (from MinecraftServer#setDifficulty(ServerLevel, Difficulty, boolean))
diff --git a/src/main/java/top/leavesmc/leaves/LeavesConfig.java b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
index e3081c3c7252fa779d4e81344d6446ce2d2c9423..aa7462d6a0fcf138c0e637dd23a28c8b9df7ee20 100644
index 77640ca1207ac2d54b5e9badac9c5dac9bcdf021..5de878d654837bd1372f5ae859c2c0583af84a5c 100644
--- a/src/main/java/top/leavesmc/leaves/LeavesConfig.java
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
@@ -397,6 +397,11 @@ public final class LeavesConfig {
@@ -399,6 +399,11 @@ public final class LeavesConfig {
}
}