mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-22 23:34:44 +02:00
Fixing Taming XP
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
Version 2.1.98
|
||||||
|
Fixed a bug that prevented Taming XP from combat
|
||||||
|
|
||||||
Version 2.1.97
|
Version 2.1.97
|
||||||
mcMMO is compatible with 1.14.4 (Didn't require any changes)
|
mcMMO is compatible with 1.14.4 (Didn't require any changes)
|
||||||
Fixed a NPE that could occur if a pet participated in combat and its master's mcMMO data was not available
|
Fixed a NPE that could occur if a pet participated in combat and its master's mcMMO data was not available
|
||||||
|
@@ -173,7 +173,7 @@ public final class CombatUtils {
|
|||||||
double initialDamage = event.getDamage();
|
double initialDamage = event.getDamage();
|
||||||
double finalDamage = initialDamage;
|
double finalDamage = initialDamage;
|
||||||
|
|
||||||
if(master != null && !master.isOnline() && master.isValid()) {
|
if(master != null && master.isOnline() && master.isValid()) {
|
||||||
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(master);
|
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(master);
|
||||||
|
|
||||||
//Make sure the profiles been loaded
|
//Make sure the profiles been loaded
|
||||||
|
Reference in New Issue
Block a user