diff --git a/src/com/massivecraft/factions/Faction.java b/src/com/massivecraft/factions/Faction.java index c109adac..f241109e 100644 --- a/src/com/massivecraft/factions/Faction.java +++ b/src/com/massivecraft/factions/Faction.java @@ -165,6 +165,7 @@ public class Faction extends Entity implements EconomyParticipator //this.peacefulExplosionsEnabled = false; this.money = 0.0; this.flagOverrides = new LinkedHashMap(); + this.permOverrides = new LinkedHashMap>(); } diff --git a/src/com/massivecraft/factions/cmd/CmdDescription.java b/src/com/massivecraft/factions/cmd/CmdDescription.java index 9b7015f6..63856f30 100644 --- a/src/com/massivecraft/factions/cmd/CmdDescription.java +++ b/src/com/massivecraft/factions/cmd/CmdDescription.java @@ -37,7 +37,7 @@ public class CmdDescription extends FCommand // Broadcast the description to everyone for (FPlayer fplayer : FPlayers.i.getOnline()) { - fplayer.msg("The faction %s changed their description to:", myFaction.describeTo(fplayer)); + fplayer.msg("%s changed their description to:", myFaction.describeTo(fplayer)); fplayer.msg(""+myFaction.getDescription()); } } diff --git a/src/com/massivecraft/factions/cmd/CmdPerm.java b/src/com/massivecraft/factions/cmd/CmdPerm.java index c6d06743..b56a4cc6 100644 --- a/src/com/massivecraft/factions/cmd/CmdPerm.java +++ b/src/com/massivecraft/factions/cmd/CmdPerm.java @@ -62,7 +62,7 @@ public class CmdPerm extends FCommand } // TODO: Awesomesause parser for deltas... - Set targetValue = FactionPerm.parseRelDeltas(TextUtil.implode(args.subList(2, args.size()-1), " "), faction.getPerm(perm)); + Set targetValue = FactionPerm.parseRelDeltas(TextUtil.implode(args.subList(2, args.size()), " "), faction.getPerm(perm)); // Do the sender have the right to change perms for this faction? if (Permission.PERM_ANY.has(sender)) diff --git a/src/com/massivecraft/factions/struct/FactionFlag.java b/src/com/massivecraft/factions/struct/FactionFlag.java index 4bf59a77..07181d49 100644 --- a/src/com/massivecraft/factions/struct/FactionFlag.java +++ b/src/com/massivecraft/factions/struct/FactionFlag.java @@ -91,7 +91,7 @@ public enum FactionFlag public String getStateInfo(boolean value, boolean withDesc) { - String ret = (value ? "YES" : "NOT") + " " + this.getNicename(); + String ret = (value ? "YES" : "NOO") + " " + this.getNicename(); if (withDesc) { ret += " " + this.getDescription(); diff --git a/src/com/massivecraft/factions/struct/FactionPerm.java b/src/com/massivecraft/factions/struct/FactionPerm.java index 7dfe75ec..38111385 100644 --- a/src/com/massivecraft/factions/struct/FactionPerm.java +++ b/src/com/massivecraft/factions/struct/FactionPerm.java @@ -71,13 +71,13 @@ public enum FactionPerm List rels = new ArrayList(); for (Rel rel : value) { - rels.add(""+rel.nicename); + rels.add("

"+rel.nicename); } - ret += TextUtil.implode(rels, " ,"); + ret += TextUtil.implode(rels, " + "); if (withDesc) { - ret += " " + this.getDescription(); + ret += " " + this.getDescription(); } return ret; }