Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.20.1' into 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
screret committed Oct 22, 2023
2 parents 77ec521 + 207e96e commit bbc81eb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@ public void addDisplayText(List<Component> textList) {
textList.add(Component.translatable("menu.gcys.dyson_sphere.collapsed"));
}
}

// TODO disable/remove this once release comes
Component button;
if (system.isDysonSphereActive()) {
button = ComponentPanelWidget.withButton(Component.translatable("menu.gcys.dyson_sphere.stop"), "dbg_delete_sphere").copy().withStyle(ChatFormatting.RED);
} else {
button = ComponentPanelWidget.withButton(Component.translatable("menu.gcys.dyson_sphere.start"), "dbg_start_sphere").copy().withStyle(ChatFormatting.GREEN);
}
textList.add(button);
}

}
Expand Down

0 comments on commit bbc81eb

Please sign in to comment.