Fixed Econ Format, Added Multiple Placeholders, Updated Pom.
This commit is contained in:
@@ -141,8 +141,7 @@ public class CmdJoin extends FCommand {
|
||||
}
|
||||
|
||||
faction.deinvite(fplayer);
|
||||
fme.setRole(faction.getDefaultRole());
|
||||
|
||||
fplayer.setRole(faction.getDefaultRole());
|
||||
if (Conf.logFactionJoin) {
|
||||
if (samePlayer) {
|
||||
P.p.log(TL.COMMAND_JOIN_JOINEDLOG.toString(), fplayer.getName(), faction.getTag());
|
||||
|
||||
@@ -34,6 +34,7 @@ public class CmdTitle extends FCommand {
|
||||
|
||||
args.remove(0);
|
||||
String title = TextUtil.implode(args, " ");
|
||||
title = title.replaceAll(",", "");
|
||||
|
||||
if (!canIAdministerYou(fme, you)) {
|
||||
return;
|
||||
|
||||
@@ -5,6 +5,7 @@ import com.massivecraft.factions.cmd.FCommand;
|
||||
import com.massivecraft.factions.integration.Econ;
|
||||
import com.massivecraft.factions.struct.Permission;
|
||||
import com.massivecraft.factions.zcore.util.TL;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
public class CmdMoneyBalance extends FCommand {
|
||||
|
||||
@@ -42,7 +43,9 @@ public class CmdMoneyBalance extends FCommand {
|
||||
}
|
||||
|
||||
if (fme != null) {
|
||||
Econ.sendBalanceInfo(fme, faction);
|
||||
Econ.sendBalanceInfo((CommandSender) fme, faction);
|
||||
} else {
|
||||
Econ.sendBalanceInfo(sender, faction);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user