mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +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
@@ -51,7 +51,7 @@
|
||||
<dependency>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>bukkit</artifactId>
|
||||
<version>1.5.1-R0.2-SNAPSHOT</version>
|
||||
<version>1.5.2-R0.2-SNAPSHOT</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -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