2
0
Эх сурвалжийг харах

BETA: Javadocs and replace of Javolution.

Zoey76 11 жил өмнө
parent
commit
53cdc62694

+ 16 - 0
L2J_Server_BETA/java/com/l2jserver/gameserver/model/instancezone/InstanceWorld.java

@@ -60,21 +60,37 @@ public class InstanceWorld
 		return _allowed.contains(id);
 	}
 	
+	/**
+	 * Gets the dynamically generated instance ID.
+	 * @return the instance ID
+	 */
 	public int getInstanceId()
 	{
 		return _instanceId;
 	}
 	
+	/**
+	 * Sets the instance ID.
+	 * @param instanceId the instance ID
+	 */
 	public void setInstanceId(int instanceId)
 	{
 		_instanceId = instanceId;
 	}
 	
+	/**
+	 * Gets the client's template instance ID.
+	 * @return the template ID
+	 */
 	public int getTemplateId()
 	{
 		return _templateId;
 	}
 	
+	/**
+	 * Sets the template ID.
+	 * @param templateId the template ID
+	 */
 	public void setTemplateId(int templateId)
 	{
 		_templateId = templateId;

+ 3 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/model/zone/type/L2RespawnZone.java

@@ -18,21 +18,21 @@
  */
 package com.l2jserver.gameserver.model.zone.type;
 
+import java.util.HashMap;
 import java.util.Map;
 
-import javolution.util.FastMap;
-
 import com.l2jserver.gameserver.enums.PcRace;
 import com.l2jserver.gameserver.model.actor.L2Character;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 import com.l2jserver.gameserver.model.zone.L2ZoneType;
 
 /**
+ * Respawn zone implementation.
  * @author Nyaran
  */
 public class L2RespawnZone extends L2ZoneType
 {
-	private final Map<PcRace, String> _raceRespawnPoint = new FastMap<>();
+	private final Map<PcRace, String> _raceRespawnPoint = new HashMap<>();
 	
 	public L2RespawnZone(int id)
 	{