mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-26 18:39:43 -05:00
Fix False-Detection
This commit is contained in:
1 parent
56bb1ee86a
commit
16e0e6320d
1 file changed
+2
-2
@@ -22,9 +22,9 @@ public class PATEventManager {
|
||||
public static boolean useDefaultActions(Object executor, String command, PATEvent.Situation situation) {
|
||||
for (PATEvent event : EVENTS) {
|
||||
if(event.situation != situation) continue;
|
||||
if(event.shouldHandleByDefault(executor, command)) return true;
|
||||
if(!event.shouldHandleByDefault(executor, command)) return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user