Alternate position check for ensoul extraction.

This commit is contained in:
MobiusDevelopment
2019-05-15 15:39:38 +00:00
parent f7adf09db1
commit 01c5b655d0
9 changed files with 81 additions and 0 deletions

View File

@ -67,6 +67,15 @@ public class RequestTryEnSoulExtraction implements IClientIncomingPacket
if (_type == 1)
{
option = item.getSpecialAbility(_position);
// If position is invalid, check the other one.
if ((option == null) && (_position == 0))
{
option = item.getSpecialAbility(1);
if (option != null)
{
_position = 1;
}
}
}
if (_type == 2)
{