Fix ItemsListBuilder
This commit is contained in:
parent
c635b8869d
commit
e7c3a79844
1 changed files with 4 additions and 0 deletions
|
@ -218,6 +218,10 @@ public class ItemsListBuilder {
|
||||||
private void collectSubregionItems(WorldRegion region) {
|
private void collectSubregionItems(WorldRegion region) {
|
||||||
Map<String, IndexItem> regionResources = resourcesByRegions.get(region);
|
Map<String, IndexItem> regionResources = resourcesByRegions.get(region);
|
||||||
|
|
||||||
|
if (regionResources == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
List<ResourceItem> regionMapArray = new LinkedList<>();
|
List<ResourceItem> regionMapArray = new LinkedList<>();
|
||||||
List<Object> allResourcesArray = new LinkedList<Object>();
|
List<Object> allResourcesArray = new LinkedList<Object>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue