mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 14:38:46 +00:00
We don't need that anymore! Fixes issue #98
This commit is contained in:
1 parent
bf2f6af86a
commit
9af1e652e4
1 file changed
+1
-1
@@ -168,7 +168,7 @@ public class PlayerListener extends EventListener
|
|||||||
public void onPlayerInteract(PlayerInteractEvent event)
|
public void onPlayerInteract(PlayerInteractEvent event)
|
||||||
{
|
{
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
Block playerClick = player.getTargetBlock(Utilities.getNonSolid(), 5);
|
//Block playerClick = player.getTargetBlock(Utilities.getNonSolid(), 5);
|
||||||
PlayerInventory inv = player.getInventory();
|
PlayerInventory inv = player.getInventory();
|
||||||
if (event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
if (event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user