Browse Source

Fix for traps created in instance. Thx Gnacik.

janiii 15 years ago
parent
commit
93bd671b2a

+ 3 - 0
L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2TrapInstance.java

@@ -37,6 +37,9 @@ public class L2TrapInstance extends L2Trap
 			L2PcInstance owner, int lifeTime, L2Skill skill)
 	{
 		super(objectId, template, lifeTime, skill);
+		
+		setInstanceId(owner.getInstanceId());
+		
 		_owner = owner;
 	}