Fixed lag caused by repetitive region parsing from bot activity
This commit is contained in:
@@ -303,6 +303,7 @@ public class Region {
|
|||||||
int mapscapeId = Cache.getIndexes()[5].getArchiveId("m" + regionX + "_"+ regionY);
|
int mapscapeId = Cache.getIndexes()[5].getArchiveId("m" + regionX + "_"+ regionY);
|
||||||
|
|
||||||
if (mapscapeId < 0 && !dynamic) {
|
if (mapscapeId < 0 && !dynamic) {
|
||||||
|
r.setLoaded(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user