Some indent style and comment management.
This commit is contained in:
@ -42,7 +42,8 @@ public class CmdFactionsDemote extends FCommand
|
||||
|
||||
if (you.getRole() == Rel.MEMBER)
|
||||
{
|
||||
if (!fme.getRole().isAtLeast(Rel.OFFICER)) {
|
||||
if (!fme.getRole().isAtLeast(Rel.OFFICER))
|
||||
{
|
||||
msg("<b>You must be an officer to demote a member to recruit.");
|
||||
return;
|
||||
}
|
||||
@ -51,7 +52,8 @@ public class CmdFactionsDemote extends FCommand
|
||||
}
|
||||
else if (you.getRole() == Rel.OFFICER)
|
||||
{
|
||||
if (!fme.getRole().isAtLeast(Rel.LEADER)) {
|
||||
if (!fme.getRole().isAtLeast(Rel.LEADER))
|
||||
{
|
||||
msg("<b>You must be the leader to demote an officer to member.");
|
||||
return;
|
||||
}
|
||||
|
@ -42,7 +42,8 @@ public class CmdFactionsPromote extends FCommand
|
||||
|
||||
if (you.getRole() == Rel.RECRUIT)
|
||||
{
|
||||
if (!fme.getRole().isAtLeast(Rel.OFFICER)) {
|
||||
if (!fme.getRole().isAtLeast(Rel.OFFICER))
|
||||
{
|
||||
msg("<b>You must be an officer to promote someone to member.");
|
||||
return;
|
||||
}
|
||||
@ -51,7 +52,8 @@ public class CmdFactionsPromote extends FCommand
|
||||
}
|
||||
else if (you.getRole() == Rel.MEMBER)
|
||||
{
|
||||
if (!fme.getRole().isAtLeast(Rel.LEADER)) {
|
||||
if (!fme.getRole().isAtLeast(Rel.LEADER))
|
||||
{
|
||||
msg("<b>You must be the leader to promote someone to officer.");
|
||||
return;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ public class CmdFactionsUnclaim extends FCommand
|
||||
{
|
||||
double refund = Econ.calculateClaimRefund(myFaction.getLandCount());
|
||||
|
||||
if(ConfServer.bankEnabled && ConfServer.bankFactionPaysLandCosts)
|
||||
if (ConfServer.bankEnabled && ConfServer.bankFactionPaysLandCosts)
|
||||
{
|
||||
if ( ! Econ.modifyMoney(myFaction, refund, "unclaim this land")) return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user