mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fix powertools when clicking in air (#1657)
Should restore behaviour prior to #1534 and fix #1622.
This commit is contained in:
parent
cdf777384e
commit
dcbc106e62
1 changed files with 3 additions and 3 deletions
|
@ -590,9 +590,9 @@ public class EssentialsPlayerListener implements Listener {
|
|||
final User user = ess.getUser(event.getPlayer());
|
||||
if (user.isFlyClickJump()) {
|
||||
useFlyClickJump(user);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
case LEFT_CLICK_BLOCK:
|
||||
if (event.getItem() != null && event.getItem().getType() != Material.AIR) {
|
||||
final User user = ess.getUser(event.getPlayer());
|
||||
|
|
Loading…
Reference in a new issue