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.disableOnLock = false;
|
||||||
this.disableOnSpam = false;
|
this.disableOnSpam = false;
|
||||||
|
|
||||||
senderMustBePlayer = true;
|
senderMustBePlayer = false;
|
||||||
senderMustBeMember = true;
|
senderMustBeMember = false;
|
||||||
senderMustBeModerator = false;
|
senderMustBeModerator = false;
|
||||||
senderMustBeAdmin = false;
|
senderMustBeAdmin = false;
|
||||||
|
|
||||||
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user