Fixed some lookups being slow when specifying an action
This commit is contained in:
parent
70f74ced0f
commit
3a0c86a614
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue