mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
@ -545,9 +545,7 @@ public class McMMOPlayer implements Identified {
|
||||
* @param xp Experience amount to process
|
||||
*/
|
||||
public void beginXpGain(PrimarySkillType skill, float xp, XPGainReason xpGainReason, XPGainSource xpGainSource) {
|
||||
Validate.isTrue(xp >= 0.0, "XP gained should be greater than or equal to zero.");
|
||||
|
||||
if (xp <= 0.0) {
|
||||
if(xp <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -102,6 +102,7 @@ public class UUIDUpdateAsyncTask implements Runnable {
|
||||
if (position == userNames.size()) {
|
||||
mcMMO.getUpgradeManager().setUpgradeCompleted(UpgradeType.ADD_UUIDS);
|
||||
awaiter.countDown();
|
||||
plugin.getLogger().info("UUID checks completed");
|
||||
} else
|
||||
this.runTaskLaterAsynchronously(plugin, Misc.TICK_CONVERSION_FACTOR * DELAY_PERIOD); // Schedule next batch
|
||||
}
|
||||
|
@ -10,3 +10,4 @@ Upgrades_Finished:
|
||||
FIX_SPELLING_NETHERITE_SALVAGE: false
|
||||
FIX_SPELLING_NETHERITE_REPAIR: false
|
||||
FIX_NETHERITE_SALVAGE_QUANTITIES: false
|
||||
ADD_UUIDS: false
|
||||
|
Reference in New Issue
Block a user