Check System Added and Massive Reformat

This commit is contained in:
Driftay
2019-08-24 13:18:50 -04:00
parent 84f4e0f732
commit 72f76aeb71
199 changed files with 15584 additions and 15463 deletions

View File

@@ -10,7 +10,7 @@ public class CmdPoints extends FCommand {
public CmdPointsSet cmdPointsSet = new CmdPointsSet();
public CmdPointsAdd cmdPointsAdd = new CmdPointsAdd();
public CmdPoints(){
public CmdPoints() {
super();
this.aliases.add("points");

View File

@@ -1,7 +1,6 @@
package com.massivecraft.factions.cmd.points;
import com.massivecraft.factions.FPlayer;
import com.massivecraft.factions.FPlayers;
import com.massivecraft.factions.Faction;
import com.massivecraft.factions.Factions;
import com.massivecraft.factions.cmd.FCommand;
@@ -48,14 +47,14 @@ public class CmdPointsAdd extends FCommand {
msg(TL.COMMAND_POINTS_FAILURE.toString().replace("{faction}", args.get(0)));
return;
}
if(argAsInt(1) <= 0){
if (argAsInt(1) <= 0) {
msg(TL.COMMAND_POINTS_INSUFFICIENT);
return;
}
faction.setPoints(faction.getPoints() + argAsInt(1));
msg(TL.COMMAND_POINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
msg(TL.COMMAND_POINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
}

View File

@@ -47,7 +47,7 @@ public class CmdPointsRemove extends FCommand {
return;
}
if(argAsInt(1) <= 0){
if (argAsInt(1) <= 0) {
msg(TL.COMMAND_POINTS_INSUFFICIENT);
return;
}

View File

@@ -46,7 +46,7 @@ public class CmdPointsSet extends FCommand {
return;
}
if(argAsInt(1) < 0){
if (argAsInt(1) < 0) {
msg(TL.COMMAND_POINTS_INSUFFICIENT);
return;
}