From 6d17855586c6487034bfd6702a12ca7128cb4044 Mon Sep 17 00:00:00 2001 From: Nick Porillo Date: Wed, 13 May 2015 01:04:53 -0400 Subject: [PATCH] Fix interact TL issue. Resolves #374 http://puu.sh/hLqXh/7aef61a7a0.png --- .../massivecraft/factions/listeners/FactionsPlayerListener.java | 2 +- src/main/java/com/massivecraft/factions/zcore/util/TL.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java b/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java index 34c4ff60..35a5d8bf 100644 --- a/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java +++ b/src/main/java/com/massivecraft/factions/listeners/FactionsPlayerListener.java @@ -407,7 +407,7 @@ public class FactionsPlayerListener implements Listener { // You may use any block unless it is another faction's territory... if (rel.isNeutral() || (rel.isEnemy() && Conf.territoryEnemyProtectMaterials) || (rel.isAlly() && Conf.territoryAllyProtectMaterials) || (rel.isTruce() && Conf.territoryTruceProtectMaterials)) { if (!justCheck) { - me.msg(TL.PLAYER_USE_TERRITORY, (material == Material.SOIL ? "trample" : "use"), TextUtil.getMaterialName(material), otherFaction.getTag(myFaction)); + me.msg(TL.PLAYER_USE_TERRITORY, (material == Material.SOIL ? "trample " : "use ") + TextUtil.getMaterialName(material), otherFaction.getTag(myFaction)); } return false; 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 454357dc..42cee172 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TL.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TL.java @@ -653,7 +653,7 @@ public enum TL { PLAYER_USE_WILDERNESS("You can't use %s in the wilderness."), PLAYER_USE_SAFEZONE("You can't use %s in a safe zone."), PLAYER_USE_WARZONE("You can't use %s in a war zone."), - PLAYER_USE_TERRITORY("You can't use %s in the territory of %s."), + PLAYER_USE_TERRITORY("You can't %s in the territory of %s."), PLAYER_USE_OWNED("You can't use %s in this territory, it is owned by: %s."), PLAYER_COMMAND_WARZONE("You can't use the command '%s' in warzone."), PLAYER_COMMAND_NEUTRAL("You can't use the command '%s' in neutral territory."),