mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 08:09:39 +01:00
Minor tweaks
This commit is contained in:
parent
e8f14eece0
commit
d484ccc15e
@ -1,6 +1,6 @@
|
||||
package com.gmail.nossr50.datatypes.items;
|
||||
|
||||
import net.minecraft.server.v1_13_R2.NBTTagCompound;
|
||||
import net.minecraft.server.v1_14_R1.NBTTagCompound;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
|
@ -927,7 +927,7 @@ public class McMMOPlayer {
|
||||
return;
|
||||
}
|
||||
|
||||
if (pluginRef.getEventManager().callPlayerAbilityActivateEvent(player, primarySkillType).isCancelled()) {
|
||||
if (pluginRef.getEventManager().callPlayerAbilityActivateEvent(player, primarySkillType, superAbility).isCancelled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user