Skip to content

Commit

Permalink
weather.enabled -> weather
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Nov 3, 2024
1 parent f989a3c commit 9d62442
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public ShaderProperties(String contents, ShaderPackOptions shaderPackOptions, It
viewportScaleOverrides.put(pass, new ViewportData(scale, offsetX, offsetY));
});

if ("weather.enabled".equals(key)) {
if ("weather".equals(key)) {
String[] parts = value.split(" ");

weather = parts[0].equals("true") ? OptionalBoolean.TRUE : OptionalBoolean.FALSE;
Expand Down

0 comments on commit 9d62442

Please sign in to comment.