Fixed Point Alias, and Fixed Faction Object Being Registered in TL calling the JsonFaction
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user