summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-03-23 22:38:01 +0000
committerKHobbits <rob@khobbits.co.uk>2012-03-23 22:38:01 +0000
commit72028086c0179dc5885725bc15b3dc740eab7637 (patch)
treeca12d586a171551bbb5a42d44668baf8d8fc90a9
parentdddf529ff5fcd5f11df24b2b945fdf0d4534b266 (diff)
downloadEssentials-72028086c0179dc5885725bc15b3dc740eab7637.tar
Essentials-72028086c0179dc5885725bc15b3dc740eab7637.tar.gz
Essentials-72028086c0179dc5885725bc15b3dc740eab7637.tar.lz
Essentials-72028086c0179dc5885725bc15b3dc740eab7637.tar.xz
Essentials-72028086c0179dc5885725bc15b3dc740eab7637.zip
'Enabled' looks better than 'true'.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandfly.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandfly.java b/Essentials/src/com/earth2me/essentials/commands/Commandfly.java
index ea6192589..526fc090d 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandfly.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandfly.java
@@ -40,7 +40,7 @@ public class Commandfly extends EssentialsCommand
{
user.setFlying(false);
}
- user.sendMessage(_("flyMode", _(user.getAllowFlight() ? "true" : "false"), user.getDisplayName()));
+ user.sendMessage(_("flyMode", _(user.getAllowFlight() ? "enabled" : "disabled"), user.getDisplayName()));
}
private void flyOtherPlayers(final Server server, final CommandSender sender, final String name)
@@ -57,7 +57,7 @@ public class Commandfly extends EssentialsCommand
{
player.setFlying(false);
}
- sender.sendMessage(_("flyMode", _(player.getAllowFlight() ? "true" : "false"), player.getDisplayName()));
+ sender.sendMessage(_("flyMode", _(player.getAllowFlight() ? "enabled" : "disabled"), player.getDisplayName()));
}
}
}