fix(core-bukkit): 修复信息模式开关时消息显示错误

This commit is contained in:
2025-02-12 02:18:05 +08:00
parent e03ad98272
commit 571dd34bbd

View File

@@ -69,9 +69,9 @@ public class InfoModeCommand extends ChildCommand {
} }
if (DebugListener.INFO_MODE_PLAYERS.contains(uuid)) { if (DebugListener.INFO_MODE_PLAYERS.contains(uuid)) {
CoreMessage.COMMAND_DEBUG_INFO_MODE_OFF.show(player);
} else {
CoreMessage.COMMAND_DEBUG_INFO_MODE_ON.show(player); CoreMessage.COMMAND_DEBUG_INFO_MODE_ON.show(player);
} else {
CoreMessage.COMMAND_DEBUG_INFO_MODE_OFF.show(player);
} }
return true; return true;
} }