Browse Source

BETA: Missing part from [6263].
* Reported by: Battlecruiser

xban1x 11 years ago
parent
commit
6c49f97984

+ 0 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/AbstractResidence.java

@@ -42,7 +42,6 @@ public abstract class AbstractResidence implements INamable
 	public AbstractResidence(int residenceId)
 	public AbstractResidence(int residenceId)
 	{
 	{
 		_residenceId = residenceId;
 		_residenceId = residenceId;
-		load();
 		initResidentialSkills();
 		initResidentialSkills();
 	}
 	}
 	
 	

+ 1 - 0
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Castle.java

@@ -254,6 +254,7 @@ public final class Castle extends AbstractResidence
 	public Castle(int castleId)
 	public Castle(int castleId)
 	{
 	{
 		super(castleId);
 		super(castleId);
+		load();
 		/*
 		/*
 		 * if (getResidenceId() == 7 || castleId == 9) // Goddard and Schuttgart _nbArtifact = 2;
 		 * if (getResidenceId() == 7 || castleId == 9) // Goddard and Schuttgart _nbArtifact = 2;
 		 */
 		 */

+ 1 - 0
L2J_Server_BETA/java/com/l2jserver/gameserver/model/entity/Fort.java

@@ -246,6 +246,7 @@ public final class Fort extends AbstractResidence
 	public Fort(int fortId)
 	public Fort(int fortId)
 	{
 	{
 		super(fortId);
 		super(fortId);
+		load();
 		loadFlagPoles();
 		loadFlagPoles();
 		_function = new FastMap<>();
 		_function = new FastMap<>();
 		if (getOwnerClan() != null)
 		if (getOwnerClan() != null)