mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-03 18:13:11 -04:00
fixed tons of null pointers after loading objects from db
This commit is contained in:
@@ -80,6 +80,8 @@ public class MissionObject extends IntangibleObject implements Serializable {
|
||||
public void initAfterDBLoad() {
|
||||
super.init();
|
||||
messageBuilder = new MissionMessageBuilder(this);
|
||||
if(attachedWaypoint != null)
|
||||
attachedWaypoint.initAfterDBLoad();
|
||||
}
|
||||
|
||||
public int getMissionLevel() {
|
||||
|
||||
Reference in New Issue
Block a user