From afc4dbf9b8496971dda7043ee60f8ba515ece7c9 Mon Sep 17 00:00:00 2001 From: ProSavage Date: Thu, 26 Jul 2018 18:17:24 -0500 Subject: [PATCH] /f warunclaimall now actually sends a message on success. --- .../java/com/massivecraft/factions/cmd/CmdWarunclaimall.java | 3 +++ src/main/java/com/massivecraft/factions/zcore/util/TL.java | 1 + 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdWarunclaimall.java b/src/main/java/com/massivecraft/factions/cmd/CmdWarunclaimall.java index 4d5257a9..f5ff0a3e 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdWarunclaimall.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdWarunclaimall.java @@ -44,6 +44,9 @@ public class CmdWarunclaimall extends FCommand { Board.getInstance().unclaimAllInWorld(id, world); } + fme.msg(TL.COMMAND_WARUNCLAIMALL_SUCCESS); + + if (Conf.logLandUnclaims) { P.p.log(TL.COMMAND_WARUNCLAIMALL_LOG.format(fme.getName())); } diff --git a/src/main/java/com/massivecraft/factions/zcore/util/TL.java b/src/main/java/com/massivecraft/factions/zcore/util/TL.java index 508d47c2..6a4483d3 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TL.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TL.java @@ -724,6 +724,7 @@ public enum TL { COMMAND_WARUNCLAIMALL_SUCCESS("You unclaimed ALL war zone land."), COMMAND_WARUNCLAIMALL_LOG("%1$s unclaimed all war zones."), + COMMAND_RULES_DISABLED_MSG("&cThis command is disabled!"), COMMAND_RULES_DESCRIPTION("set/remove/add rules!"), COMMAND_RULES_ADD_INVALIDARGS("Please include a rule!"),