fixed initialisation of auction items, fixed loading of building signs after server restart

This commit is contained in:
Light2
2014-05-30 19:49:52 +02:00
parent bd8d05001f
commit b2d3be0486
4 changed files with 13 additions and 1 deletions
+6
View File
@@ -196,6 +196,12 @@ public class ObjectService implements INetworkDispatch {
object.setParent(building);
object.getContainerInfo(object.getTemplate());
});
SWGObject sign = (SWGObject) building.getAttachment("sign");
if(sign != null) {
sign.initializeBaselines();
sign.initAfterDBLoad();
objectList.put(sign.getObjectID(), sign);
}
}
cursor.close();