fix swapped command feedback

This commit is contained in:
Elias Müller 2024-12-20 18:46:20 +01:00
parent 9197840873
commit e45698c88a

View File

@ -25,7 +25,7 @@ public class EndPreventCommand extends ApplianceCommand<EndPrevent> {
sender.sendMessage(Component.text("Setting updated!", NamedTextColor.GREEN)); sender.sendMessage(Component.text("Setting updated!", NamedTextColor.GREEN));
} }
sender.sendMessage(Component.text( sender.sendMessage(Component.text(
String.format("The End is %s!", this.getAppliance().isEndDisabled() ? "open" : "closed"), String.format("The End is %s!", this.getAppliance().isEndDisabled() ? "closed" : "open"),
NamedTextColor.GOLD NamedTextColor.GOLD
)); ));
} }