Fixed Point Alias, and Fixed Faction Object Being Registered in TL calling the JsonFaction

This commit is contained in:
Driftay
2019-07-01 14:00:29 -04:00
parent 61f13c92d1
commit e7bfac7bfd
5 changed files with 3 additions and 10 deletions

View File

@@ -12,7 +12,6 @@ public class CmdPoints extends FCommand {
public CmdPoints(){
super();
this.aliases.add("points");
this.aliases.add("point");
this.disableOnLock = false;
this.disableOnSpam = false;

View File

@@ -44,7 +44,7 @@ public class CmdPointsAdd extends FCommand {
}
faction.setPoints(faction.getPoints() + argAsInt(1));
fme.msg(TL.COMMAND_POINTS_SUCCESSFUL, argAsInt(1), faction, faction.getPoints());
fme.msg(TL.COMMAND_POINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
}

View File

@@ -45,7 +45,7 @@ public class CmdPointsRemove extends FCommand {
}
faction.setPoints(faction.getPoints() - argAsInt(1));
fme.msg(TL.COMMAND_REMOVEPOINTS_SUCCESSFUL, argAsInt(1), faction, faction.getPoints());
fme.msg(TL.COMMAND_REMOVEPOINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
}

View File

@@ -45,7 +45,7 @@ public class CmdPointsSet extends FCommand{
}
faction.setPoints(faction.getPoints() - argAsInt(1));
fme.msg(TL.COMMAND_SETPOINTS_SUCCESSFUL, argAsInt(1), faction, faction.getPoints());
fme.msg(TL.COMMAND_SETPOINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
}