Skip to content

Commit 0ddba9a

Browse files
committed
fix: allow saving without a renderer
1 parent 8d1eeb2 commit 0ddba9a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

common/src/main/java/com/qendolin/betterclouds/rendering/CloudRenderCoordinator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ public void close() {
124124
}
125125

126126
public void onConfigSave() {
127-
renderer.onConfigSave();
127+
if (renderer != null)
128+
renderer.onConfigSave();
128129
}
129130

130131
private boolean shouldRenderClouds() {

0 commit comments

Comments
 (0)