Made /stopfire and /allowfire say the world that it was toggled for.

This commit is contained in:
sk89q 2011-04-02 00:42:19 -07:00
parent a9ab0702e0
commit 3d0ebe5c91

View File

@ -48,7 +48,7 @@ public static void stopFire(CommandContext args, WorldGuardPlugin plugin,
if (!wcfg.fireSpreadDisableToggle) {
plugin.getServer().broadcastMessage(
ChatColor.YELLOW
+ "Fire spread has been globally disabled by "
+ "Fire spread has been globally disabled for '" + world.getName() + "' by "
+ plugin.toName(sender) + ".");
} else {
sender.sendMessage(
@ -78,7 +78,7 @@ public static void allowFire(CommandContext args, WorldGuardPlugin plugin,
if (wcfg.fireSpreadDisableToggle) {
plugin.getServer().broadcastMessage(ChatColor.YELLOW
+ "Fire spread has been globally re-enabled by "
+ "Fire spread has been globally for '" + world.getName() + "' re-enabled by "
+ plugin.toName(sender) + ".");
} else {
sender.sendMessage(ChatColor.YELLOW