Fixed objectMutex error with char loading

This shouldn't happen or be needed to begin with.... but it does.
This commit is contained in:
Treeku
2014-06-18 09:28:10 +01:00
parent 5ac740dacb
commit 3ef6358ac4
+1
View File
@@ -994,6 +994,7 @@ public class ObjectService implements INetworkDispatch {
creature.viewChildren(creature, true, true, (object) -> {
if(object.getMutex() == null)
object.initializeBaselines();
object.initAfterDBLoad();
if(object.getParentId() != 0 && object.getContainer() == null)
object.setParent(getObject(object.getParentId()));