mirror of
https://github.com/LeavesMC/Leaves.git
synced 2026-01-04 15:41:31 +00:00
Fakeplayer skip sleep check config (#34)
This commit is contained in:
@@ -55,10 +55,10 @@ index 640bf562bc2b29bbba5375eea5bc4714b4bb9873..2a4c9ed93790a77b00dcc32996043f5a
|
||||
// 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 70d46fed0485bc242889fad43b4ceca98c02bf53..3ad68e2775951ea67a4761edd5d059c360afd9bf 100644
|
||||
index 238458774bb335b5479f58bd38b195cf14f165bb..72d97a4a632bac3766d74f9155f2ab66a2b8e4ad 100644
|
||||
--- a/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
@@ -494,6 +494,11 @@ public final class LeavesConfig {
|
||||
@@ -496,6 +496,11 @@ public final class LeavesConfig {
|
||||
netherPortalFix = getBoolean("settings.modify.return-nether-portal-fix", netherPortalFix);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user