maybe fly fix idk
This commit is contained in:
@@ -11,7 +11,7 @@ public class FlyCommand extends Command {
|
||||
|
||||
public FlyCommand(String name) {
|
||||
super(name);
|
||||
this.description = "Toggles flight for yourself";
|
||||
this.description = "Toggles the server-side flight check exemption for yourself";
|
||||
this.usageMessage = "/fly";
|
||||
}
|
||||
|
||||
@@ -31,9 +31,10 @@ public class FlyCommand extends Command {
|
||||
player.flightAllowed = !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 {
|
||||
sender.sendMessage(ChatColor.YELLOW + "Flight disabled.");
|
||||
sender.sendMessage(ChatColor.YELLOW + "Flight check exemption disabled.");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user