mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-30 20:39:15 +00:00
Fakeplayer Resident (#17)
This commit is contained in:
@@ -69,10 +69,10 @@ index e8492a1bbf306473116974bde751b814ded4b031..b69f915226dd9cda4b5f24e307d89c19
|
||||
// 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 6bf431704248095eca656f9a7d3150755b6d7b85..74838b4d190fdd42bde8486210cb8bc416cf2d08 100644
|
||||
index 6feda82b282b73aab1955f2c5189cda9274d5213..761846061ffe05103a62d0c22561d492a6af8780 100644
|
||||
--- a/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
@@ -418,6 +418,11 @@ public final class LeavesConfig {
|
||||
@@ -420,6 +420,11 @@ public final class LeavesConfig {
|
||||
flattenTriangularDistribution = getBoolean("settings.modify.flatten-triangular-distribution", flattenTriangularDistribution);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user