Don't invert the debug status message

This commit is contained in:
NotMyFault 2021-03-04 21:43:16 +01:00
parent 31de7de385
commit 797d3ed362
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -172,7 +172,7 @@ public class Toggle extends Command {
RunnableVal3<Command, Runnable, Runnable> confirm,
RunnableVal2<Command, CommandResult> whenDone
) {
if (!toggle(player, "debug")) {
if (toggle(player, "debug")) {
player.sendMessage(
TranslatableCaption.of("toggle.toggle_disabled"),
Template.of("setting", command.toString())