Code style changes.

This commit is contained in:
MobiusDev
2016-04-26 19:21:19 +00:00
parent 6a13705766
commit fc070c9238
768 changed files with 3338 additions and 4252 deletions

View File

@@ -44,7 +44,7 @@ public class ConditionPlayerWeight extends Condition
final L2PcInstance player = effector.getActingPlayer();
if ((player != null) && (player.getMaxLoad() > 0))
{
final int weightproc = (((player.getCurrentLoad() - player.getBonusWeightPenalty()) * 100) / player.getMaxLoad());
final int weightproc = ((player.getCurrentLoad() - player.getBonusWeightPenalty()) * 100) / player.getMaxLoad();
return (weightproc < _weight) || player.getDietMode();
}
return true;