Points Debugged and Complete!
This commit is contained in:
parent
2c6de3c72c
commit
b9bb6009b9
@ -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;
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user