mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-07-31 01:15:50 -04:00
Fixed null pointer exception when loading all buildouts
This commit is contained in:
@@ -147,7 +147,7 @@ public class ObjectManager extends Manager {
|
||||
System.out.println("ObjectManager: Loading buildouts...");
|
||||
Log.i("ObjectManager", "Loading buildouts...");
|
||||
BuildoutLoader loader = new BuildoutLoader();
|
||||
if (terrain == null)
|
||||
if (terrain != null)
|
||||
loader.loadBuildoutsForTerrain(terrain);
|
||||
else
|
||||
loader.loadAllBuildouts();
|
||||
|
||||
Reference in New Issue
Block a user