Skip to content

Commit

Permalink
holiday setting hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Nov 1, 2024
1 parent 001f39a commit c11e5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/minecolonies/core/colony/Colony.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit c11e5d6

Please sign in to comment.