mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 22:15:28 +00:00
Fixed small oversight on interaction checking
This commit is contained in:
1 parent
2a571145e3
commit
6f9eac0e79
1 file changed
+3
@@ -189,10 +189,13 @@ public class PlayerListener extends EventListener
|
|||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
log("tried to interact with an object that they couldn't see", player, CheckType.VISUAL);
|
log("tried to interact with an object that they couldn't see", player, CheckType.VISUAL);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
backend.logInteraction(player);
|
backend.logInteraction(player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@EventHandler(ignoreCancelled = true)
|
@EventHandler(ignoreCancelled = true)
|
||||||
public void onPlayerDropItem(PlayerDropItemEvent event)
|
public void onPlayerDropItem(PlayerDropItemEvent event)
|
||||||
|
|||||||
Reference in new issue
Block a user