diff --git a/src/resources/objects/SWGObject.java b/src/resources/objects/SWGObject.java index 23f02fa7d..374db75c2 100644 --- a/src/resources/objects/SWGObject.java +++ b/src/resources/objects/SWGObject.java @@ -117,10 +117,10 @@ public class SWGObject implements Serializable, Comparable { if (containmentType == null) child.containmentType = 4; else - child.containmentType = containmentType.intValue(); - - sendObserversAndSelf(new UpdateContainmentMessage(child.objectId, objectId, containmentType)); + child.containmentType = containmentType; + // TODO: Set containmentType based on if object is in a slot (4) or a container (-1) + sendObserversAndSelf(new UpdateContainmentMessage(child.objectId, objectId, containmentType)); } public void addAttribute(String attribute, String value) {