mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-12-28 17:47:41 +01:00
Fixed some lookups being slow when specifying an action
This commit is contained in:
parent
70f74ced0f
commit
3a0c86a614
@ -627,7 +627,7 @@ public class Lookup extends Queue {
|
|||||||
if ((index.equals("") && restrictWorld)) {
|
if ((index.equals("") && restrictWorld)) {
|
||||||
index = "USE INDEX(wid) ";
|
index = "USE INDEX(wid) ";
|
||||||
}
|
}
|
||||||
if ((radius != null || actionList.contains(5))) {
|
if ((radius != null || actionList.size() > 0)) {
|
||||||
index = "";
|
index = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -645,7 +645,7 @@ public class Lookup extends Queue {
|
|||||||
if ((index.equals("") && restrictWorld)) {
|
if ((index.equals("") && restrictWorld)) {
|
||||||
index = "INDEXED BY block_index ";
|
index = "INDEXED BY block_index ";
|
||||||
}
|
}
|
||||||
if ((radius != null || actionList.contains(5))) {
|
if ((radius != null || actionList.size() > 0)) {
|
||||||
index = "";
|
index = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user