Points Debugged and Complete!

This commit is contained in:
Driftay 2019-07-01 14:11:23 -04:00
parent 2c6de3c72c
commit b9bb6009b9
2 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@ public class CmdPoints extends FCommand {
this.disableOnLock = false;
this.disableOnSpam = false;
senderMustBePlayer = true;
senderMustBeMember = true;
senderMustBePlayer = false;
senderMustBeMember = false;
senderMustBeModerator = false;
senderMustBeAdmin = false;

View File

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