Disband exploit fixed

This commit is contained in:
ProSavage
2018-10-01 16:53:10 -05:00
parent 12caa1b9d4
commit f1a42749da
3 changed files with 9 additions and 6 deletions

View File

@@ -41,6 +41,7 @@ public class CmdPower extends FCommand {
return;
}
double powerBoost = target.getPowerBoost();
String boost = (powerBoost == 0.0) ? "" : (powerBoost > 0.0 ? TL.COMMAND_POWER_BONUS.toString() : TL.COMMAND_POWER_PENALTY.toString()) + powerBoost + ")";
msg(TL.COMMAND_POWER_POWER, target.describeTo(fme, true), target.getPowerRounded(), target.getPowerMaxRounded(), boost);