Fix False-Detection

This commit is contained in:
RayzsYT committed 2024-07-09 00:10:17 +02:00
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;
}
}