maybe fly fix idk

This commit is contained in:
2026-09-21 00:01:35 +01:00
parent 18af642e65
commit 82f919e8d3
4 changed files with 4 additions and 3 deletions
@@ -11,7 +11,7 @@ public class FlyCommand extends Command {
public FlyCommand(String name) { public FlyCommand(String name) {
super(name); super(name);
this.description = "Toggles flight for yourself"; this.description = "Toggles the server-side flight check exemption for yourself";
this.usageMessage = "/fly"; this.usageMessage = "/fly";
} }
@@ -31,9 +31,10 @@ public class FlyCommand extends Command {
player.flightAllowed = !player.flightAllowed; player.flightAllowed = !player.flightAllowed;
if (player.flightAllowed) { if (player.flightAllowed) {
sender.sendMessage(ChatColor.GREEN + "Flight enabled."); sender.sendMessage(ChatColor.GREEN + "Flight check exemption enabled.");
sender.sendMessage(ChatColor.YELLOW + "A compatible client-side flight mod is required to fly.");
} else { } else {
sender.sendMessage(ChatColor.YELLOW + "Flight disabled."); sender.sendMessage(ChatColor.YELLOW + "Flight check exemption disabled.");
} }
return true; return true;
Binary file not shown.
Binary file not shown.