Dye name is not needed to be saved in Henna.
This commit is contained in:
@@ -34,7 +34,6 @@ import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
public class L2Henna
|
||||
{
|
||||
private final int _dyeId;
|
||||
private final String _dyeName;
|
||||
private final int _dyeItemId;
|
||||
private final boolean _isPremium;
|
||||
private final Map<BaseStats, Integer> _baseStats = new HashMap<>();
|
||||
@@ -49,7 +48,6 @@ public class L2Henna
|
||||
public L2Henna(StatsSet set)
|
||||
{
|
||||
_dyeId = set.getInt("dyeId");
|
||||
_dyeName = set.getString("dyeName");
|
||||
_dyeItemId = set.getInt("dyeItemId");
|
||||
_isPremium = set.getBoolean("isPremium", false);
|
||||
_baseStats.put(BaseStats.STR, set.getInt("str", 0));
|
||||
@@ -77,14 +75,6 @@ public class L2Henna
|
||||
return _dyeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the dye server-side name.
|
||||
*/
|
||||
public String getDyeName()
|
||||
{
|
||||
return _dyeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the item Id, required for this dye.
|
||||
*/
|
||||
|
@@ -34,7 +34,6 @@ import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
public class L2Henna
|
||||
{
|
||||
private final int _dyeId;
|
||||
private final String _dyeName;
|
||||
private final int _dyeItemId;
|
||||
private final boolean _isPremium;
|
||||
private final Map<BaseStats, Integer> _baseStats = new HashMap<>();
|
||||
@@ -49,7 +48,6 @@ public class L2Henna
|
||||
public L2Henna(StatsSet set)
|
||||
{
|
||||
_dyeId = set.getInt("dyeId");
|
||||
_dyeName = set.getString("dyeName");
|
||||
_dyeItemId = set.getInt("dyeItemId");
|
||||
_isPremium = set.getBoolean("isPremium", false);
|
||||
_baseStats.put(BaseStats.STR, set.getInt("str", 0));
|
||||
@@ -77,14 +75,6 @@ public class L2Henna
|
||||
return _dyeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the dye server-side name.
|
||||
*/
|
||||
public String getDyeName()
|
||||
{
|
||||
return _dyeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the item Id, required for this dye.
|
||||
*/
|
||||
|
@@ -34,7 +34,6 @@ import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
public class L2Henna
|
||||
{
|
||||
private final int _dyeId;
|
||||
private final String _dyeName;
|
||||
private final int _dyeItemId;
|
||||
private final boolean _isPremium;
|
||||
private final Map<BaseStats, Integer> _baseStats = new HashMap<>();
|
||||
@@ -49,7 +48,6 @@ public class L2Henna
|
||||
public L2Henna(StatsSet set)
|
||||
{
|
||||
_dyeId = set.getInt("dyeId");
|
||||
_dyeName = set.getString("dyeName");
|
||||
_dyeItemId = set.getInt("dyeItemId");
|
||||
_isPremium = set.getBoolean("isPremium", false);
|
||||
_baseStats.put(BaseStats.STR, set.getInt("str", 0));
|
||||
@@ -77,14 +75,6 @@ public class L2Henna
|
||||
return _dyeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the dye server-side name.
|
||||
*/
|
||||
public String getDyeName()
|
||||
{
|
||||
return _dyeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the item Id, required for this dye.
|
||||
*/
|
||||
|
@@ -29,7 +29,6 @@ import com.l2jmobius.gameserver.model.base.ClassId;
|
||||
public class L2Henna
|
||||
{
|
||||
private final int _dyeId;
|
||||
private final String _dyeName;
|
||||
private final int _dyeItemId;
|
||||
private final int _str;
|
||||
private final int _con;
|
||||
@@ -46,7 +45,6 @@ public class L2Henna
|
||||
public L2Henna(StatsSet set)
|
||||
{
|
||||
_dyeId = set.getInt("dyeId");
|
||||
_dyeName = set.getString("dyeName");
|
||||
_dyeItemId = set.getInt("dyeItemId");
|
||||
_str = set.getInt("str", 0);
|
||||
_con = set.getInt("con", 0);
|
||||
@@ -69,14 +67,6 @@ public class L2Henna
|
||||
return _dyeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the dye server-side name.
|
||||
*/
|
||||
public String getDyeName()
|
||||
{
|
||||
return _dyeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the item Id, required for this dye.
|
||||
*/
|
||||
|
@@ -34,7 +34,6 @@ import com.l2jmobius.gameserver.model.stats.Stats;
|
||||
public class L2Henna
|
||||
{
|
||||
private final int _dyeId;
|
||||
private final String _dyeName;
|
||||
private final int _dyeItemId;
|
||||
private final Map<BaseStats, Integer> _baseStats = new HashMap<>();
|
||||
private final int _wear_fee;
|
||||
@@ -48,7 +47,6 @@ public class L2Henna
|
||||
public L2Henna(StatsSet set)
|
||||
{
|
||||
_dyeId = set.getInt("dyeId");
|
||||
_dyeName = set.getString("dyeName");
|
||||
_dyeItemId = set.getInt("dyeItemId");
|
||||
_baseStats.put(BaseStats.STR, set.getInt("str", 0));
|
||||
_baseStats.put(BaseStats.CON, set.getInt("con", 0));
|
||||
@@ -75,14 +73,6 @@ public class L2Henna
|
||||
return _dyeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the dye server-side name.
|
||||
*/
|
||||
public String getDyeName()
|
||||
{
|
||||
return _dyeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the item Id, required for this dye.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user