mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 03:30:10 +00:00
Fix right clicking on block cancelling bending
This commit is contained in:
parent
270c3060b0
commit
6dff656006
1 changed files with 0 additions and 2 deletions
|
@ -855,8 +855,6 @@ public class PKListener implements Listener {
|
|||
|
||||
if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
||||
String ability = GeneralMethods.getBoundAbility(player);
|
||||
if (!ability.equalsIgnoreCase("airspout")) //prevents airspout from cancelling due to right click
|
||||
GeneralMethods.cooldowns.put(player.getName(), System.currentTimeMillis());
|
||||
ComboManager.addComboAbility(player, ClickType.RIGHT_CLICK);
|
||||
if (ability != null && ability.equalsIgnoreCase("EarthSmash"))
|
||||
new EarthSmash(player, ClickType.RIGHT_CLICK);
|
||||
|
|
Loading…
Reference in a new issue