Equipment list now uses ids instead of the referencing the object to avoid storing duplicate objects in the db

This commit is contained in:
Light2
2014-05-04 20:54:41 +02:00
parent 3c3155b8b2
commit db4a47b35a
8 changed files with 49 additions and 28 deletions
@@ -167,6 +167,7 @@ public class PlayerObject extends IntangibleObject implements Serializable {
super.init();
lastPlayTimeUpdate = System.currentTimeMillis();
messageBuilder = new PlayerMessageBuilder(this);
waypoints.forEach(WaypointObject::initAfterDBLoad);
}
public String getTitle() {