Class change related skill changes.
Contributed by Liamxroy.
This commit is contained in:
@@ -56,7 +56,7 @@ public class ClassChange extends AbstractEffect
|
||||
if (effected.isPlayer())
|
||||
{
|
||||
final PlayerInstance player = effected.getActingPlayer();
|
||||
// TODO: FIX ME - Executing 1 second later otherwise interupted exception during storeCharBase()
|
||||
// TODO: FIX ME - Executing 100 ms later otherwise interupted exception during storeCharBase()
|
||||
ThreadPool.schedule(() ->
|
||||
{
|
||||
final int activeClass = player.getClassId().getId();
|
||||
@@ -86,7 +86,7 @@ public class ClassChange extends AbstractEffect
|
||||
player.broadcastUserInfo();
|
||||
player.sendPacket(new AcquireSkillList(player));
|
||||
player.sendPacket(new ExSubjobInfo(player, SubclassInfoType.CLASS_CHANGED));
|
||||
}, 1000);
|
||||
}, 100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user