From c11e5d6a2885b39537b534ca35d98cdc2d6384f5 Mon Sep 17 00:00:00 2001 From: Ray Neiheiser Date: Fri, 1 Nov 2024 10:37:01 +0100 Subject: [PATCH] holiday setting hotfix --- src/main/java/com/minecolonies/core/colony/Colony.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minecolonies/core/colony/Colony.java b/src/main/java/com/minecolonies/core/colony/Colony.java index 1859a7acaf6..dc2d80370a3 100644 --- a/src/main/java/com/minecolonies/core/colony/Colony.java +++ b/src/main/java/com/minecolonies/core/colony/Colony.java @@ -1891,8 +1891,8 @@ public void setTextureStyle(final String style) public String getTextureStyleId() { if (MineColonies.getConfig().getServer().holidayFeatures.get() && - (LocalDateTime.now().getDayOfMonth() >= 29 && LocalDateTime.now().getMonth() == Month.OCTOBER) - || (LocalDateTime.now().getDayOfMonth() <= 2 && LocalDateTime.now().getMonth() == Month.NOVEMBER)) + ((LocalDateTime.now().getDayOfMonth() >= 29 && LocalDateTime.now().getMonth() == Month.OCTOBER) + || (LocalDateTime.now().getDayOfMonth() <= 2 && LocalDateTime.now().getMonth() == Month.NOVEMBER))) { return "nether"; }