diff --git a/src/main/java/net/coreprotect/database/Lookup.java b/src/main/java/net/coreprotect/database/Lookup.java index 4c41f8f..e4ec206 100755 --- a/src/main/java/net/coreprotect/database/Lookup.java +++ b/src/main/java/net/coreprotect/database/Lookup.java @@ -627,7 +627,7 @@ public class Lookup extends Queue { if ((index.equals("") && restrictWorld)) { index = "USE INDEX(wid) "; } - if ((radius != null || actionList.contains(5))) { + if ((radius != null || actionList.size() > 0)) { index = ""; } } @@ -645,7 +645,7 @@ public class Lookup extends Queue { if ((index.equals("") && restrictWorld)) { index = "INDEXED BY block_index "; } - if ((radius != null || actionList.contains(5))) { + if ((radius != null || actionList.size() > 0)) { index = ""; } }