Minor code cleanup.
Contributed by nasseka.
This commit is contained in:
@@ -1401,7 +1401,7 @@ public class Attackable extends Npc
|
||||
}
|
||||
default:
|
||||
{
|
||||
mul = 1.;
|
||||
mul = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,8 +135,8 @@ public class PlayerStat extends PlayableStat
|
||||
|
||||
final double baseExp = addToExp;
|
||||
final double baseSp = addToSp;
|
||||
double bonusExp = 1.;
|
||||
double bonusSp = 1.;
|
||||
double bonusExp = 1;
|
||||
double bonusSp = 1;
|
||||
|
||||
// Start Nevit's Hourglass
|
||||
if (Config.NEVIT_ENABLED && (addToExp > 0) && !player.isInsideZone(ZoneId.PEACE))
|
||||
|
||||
Reference in New Issue
Block a user