mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Possible fix for not registering right click air events.
This commit is contained in:
@ -94,7 +94,8 @@ public class Skills
|
||||
}
|
||||
}
|
||||
|
||||
public static void monitorSkill(Player player, PlayerProfile PP, long curTime, SkillType skill){
|
||||
public static void monitorSkill(Player player, PlayerProfile PP, long curTime, SkillType skill)
|
||||
{
|
||||
ToolType tool = skill.getTool();
|
||||
AbilityType ability = skill.getAbility();
|
||||
if(tool.getToolMode(PP) && curTime - (tool.getToolATS(PP) * 1000) >= 4000)
|
||||
|
Reference in New Issue
Block a user