fixed tons of null pointers after loading objects from db

This commit is contained in:
Light2
2014-05-04 22:47:05 +02:00
parent a4216f76b5
commit ae33de15c5
17 changed files with 71 additions and 36 deletions
@@ -76,7 +76,7 @@ public class TangibleObject extends SWGObject implements Serializable {
protected String faction = ""; // Says you're "Imperial Special Forces" if it's 0 for some reason
protected int factionStatus = 0;
@NotPersistent
private transient Vector<TangibleObject> defendersList = new Vector<TangibleObject>(); // unused in packets but useful for the server
protected transient Vector<TangibleObject> defendersList = new Vector<TangibleObject>(); // unused in packets but useful for the server
@NotPersistent
private transient TangibleMessageBuilder messageBuilder;