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.disableOnLock = false;
this.disableOnSpam = false; this.disableOnSpam = false;
senderMustBePlayer = true; senderMustBePlayer = false;
senderMustBeMember = true; senderMustBeMember = false;
senderMustBeModerator = false; senderMustBeModerator = false;
senderMustBeAdmin = false; senderMustBeAdmin = false;

View File

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