Probable fix for RequestAcquireSkill NPE.
This commit is contained in:
@@ -328,7 +328,7 @@ public final class RequestAcquireSkill extends L2GameClientPacket
|
||||
{
|
||||
for (int i = 1; i <= Config.MAX_SUBCLASS; i++)
|
||||
{
|
||||
final String itemOID = activeChar.getVariables().getString(varName + i);
|
||||
final String itemOID = activeChar.getVariables().getString(varName + i, "");
|
||||
if (!itemOID.isEmpty() && !itemOID.endsWith(";") && !itemOID.equals("0"))
|
||||
{
|
||||
if (Util.isDigit(itemOID))
|
||||
|
Reference in New Issue
Block a user