mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
Fixed lag caused by repetitive region parsing from bot activity
This commit is contained in:
parent
8dadaa5089
commit
4971985d44
1 changed files with 1 additions and 0 deletions
|
|
@ -303,6 +303,7 @@ public class Region {
|
|||
int mapscapeId = Cache.getIndexes()[5].getArchiveId("m" + regionX + "_"+ regionY);
|
||||
|
||||
if (mapscapeId < 0 && !dynamic) {
|
||||
r.setLoaded(true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue