mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fix #224 - ignore shift click collect/spreads
This commit is contained in:
1 parent
94608f6bbf
commit
9389020f05
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@ public class InventoryListener extends EventListener {
|
||||
|
||||
@EventHandler
|
||||
public void onInventoryClick(InventoryClickEvent event) {
|
||||
if (!event.isRightClick() && event.getWhoClicked() instanceof Player) {
|
||||
if (!event.isRightClick() && !event.isShiftClick() && event.getWhoClicked() instanceof Player) {
|
||||
Player player = (Player) event.getWhoClicked();
|
||||
if (getCheckManager().willCheck(player, CheckType.FAST_INVENTORY)) {
|
||||
CheckResult result = getBackend().checkInventoryClicks(player);
|
||||
|
||||
Reference in new issue
Block a user