Skip to content

Commit

Permalink
weather.enabled -> weather
Browse files Browse the repository at this point in the history
IMS212 committed Nov 3, 2024

Verified

This commit was signed with the committer’s verified signature.
jenniferarnesen Jen Jones Arnesen
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
@@ -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;

0 comments on commit 9d62442

Please sign in to comment.