mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
!Fixed MMOItems import
This commit is contained in:
parent
ed8426b02f
commit
a432b9fa95
@ -50,7 +50,6 @@ import net.Indyuce.mmocore.api.skill.SkillResult;
|
||||
import net.Indyuce.mmocore.api.skill.SkillResult.CancelReason;
|
||||
import net.Indyuce.mmocore.api.util.math.particle.SmallParticleEffect;
|
||||
import net.Indyuce.mmocore.listener.SpellCast.SkillCasting;
|
||||
import net.Indyuce.mmoitems.MMOItems;
|
||||
import net.md_5.bungee.api.ChatMessageType;
|
||||
import net.md_5.bungee.api.chat.TextComponent;
|
||||
import net.mmogroup.mmolib.MMOLib;
|
||||
@ -496,10 +495,9 @@ public class PlayerData extends OfflinePlayerData {
|
||||
}
|
||||
|
||||
// display hologram
|
||||
if (MMOItems.plugin.getConfig().getBoolean("game-indicators.exp.enabled")) {
|
||||
if (MMOCore.plugin.getConfig().getBoolean("game-indicators.exp.enabled"))
|
||||
if (loc != null && MMOCore.plugin.hologramSupport != null)
|
||||
MMOCore.plugin.hologramSupport.displayIndicator(loc.add(.5, 1.5, .5), MMOCore.plugin.configManager.getSimpleMessage("exp-hologram", "exp", "" + value).message(), getPlayer());
|
||||
}
|
||||
|
||||
value = MMOCore.plugin.boosterManager.calculateExp(null, value);
|
||||
value *= 1 + getStats().getStat(StatType.ADDITIONAL_EXPERIENCE) / 100;
|
||||
|
Loading…
Reference in New Issue
Block a user