diff --git a/src/com/massivecraft/factions/P.java b/src/com/massivecraft/factions/P.java index f653a3bc..434ced79 100644 --- a/src/com/massivecraft/factions/P.java +++ b/src/com/massivecraft/factions/P.java @@ -24,6 +24,7 @@ import com.massivecraft.factions.cmd.*; import com.massivecraft.factions.integration.capi.CapiFeatures; import com.massivecraft.factions.integration.Econ; import com.massivecraft.factions.integration.EssentialsFeatures; +import com.massivecraft.factions.integration.EssentialsOldVersionFeatures; import com.massivecraft.factions.integration.LWCFeatures; import com.massivecraft.factions.integration.SpoutFeatures; import com.massivecraft.factions.integration.Worldguard; @@ -194,8 +195,7 @@ public class P extends MPlugin // no? try older Essentials 2.x integration method try { - // TODO: Creates errors in eclipse - //EssentialsOldVersionFeatures.integrateChat(essChat); + EssentialsOldVersionFeatures.integrateChat(essChat); } catch (NoClassDefFoundError ex2) { @@ -211,8 +211,7 @@ public class P extends MPlugin { try { - // TODO: Creates errors in eclipse - //EssentialsOldVersionFeatures.unhookChat(); + EssentialsOldVersionFeatures.unhookChat(); } catch (NoClassDefFoundError ex) { diff --git a/src/com/massivecraft/factions/cmd/CmdLeader.java b/src/com/massivecraft/factions/cmd/CmdLeader.java index 7434416b..7203907f 100644 --- a/src/com/massivecraft/factions/cmd/CmdLeader.java +++ b/src/com/massivecraft/factions/cmd/CmdLeader.java @@ -47,7 +47,7 @@ public class CmdLeader extends FCommand // Follow the standard rules if (fme.getRole() != Rel.LEADER || targetFaction != myFaction) { - sender.sendMessage(p.txt.parse("Only faction leaders can %s.", this.getHelpShort())); + sender.sendMessage(p.txt.parse("You must be leader of the faction to %s.", this.getHelpShort())); return; } diff --git a/src/com/massivecraft/factions/integration/EssentialsOldVersionFeaturesTODO.java b/src/com/massivecraft/factions/integration/EssentialsOldVersionFeatures.java similarity index 97% rename from src/com/massivecraft/factions/integration/EssentialsOldVersionFeaturesTODO.java rename to src/com/massivecraft/factions/integration/EssentialsOldVersionFeatures.java index 86178846..e867820a 100644 --- a/src/com/massivecraft/factions/integration/EssentialsOldVersionFeaturesTODO.java +++ b/src/com/massivecraft/factions/integration/EssentialsOldVersionFeatures.java @@ -14,7 +14,7 @@ import com.earth2me.essentials.chat.IEssentialsChatListener; * This Essentials integration handler is for older 2.x.x versions of Essentials which have "IEssentialsChatListener" */ -public class EssentialsOldVersionFeaturesTODO +public class EssentialsOldVersionFeatures { private static EssentialsChat essChat;