mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 04:55:28 +02:00
Using doubles in most places again to avoid precision loss
This commit is contained in:
@@ -553,7 +553,7 @@ public final class CombatUtils {
|
||||
* @param primarySkillType The skill being used
|
||||
*/
|
||||
private static void startGainXp(McMMOPlayer mcMMOPlayer, LivingEntity target, PrimarySkillType primarySkillType, double multiplier) {
|
||||
float baseXPMultiplier = 0;
|
||||
double baseXPMultiplier = 0;
|
||||
XPGainReason xpGainReason;
|
||||
|
||||
if (target instanceof Player) {
|
||||
|
Reference in New Issue
Block a user