mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Fixed NoSwing false-positives
This commit is contained in:
1 parent
b7cdeed104
commit
5e9b7b4ef0
2 files changed
+22
-7
No files matched your search
@@ -199,7 +199,6 @@ public class PlayerListener extends EventListener
|
||||
public void onPlayerInteract(PlayerInteractEvent event)
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
|
||||
//Block playerClick = player.getTargetBlock(Utilities.getNonSolid(), 5);
|
||||
PlayerInventory inv = player.getInventory();
|
||||
if (event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
||||
|
||||
Reference in new issue
Block a user