Autor Tema: java.lang.ClassCastException: L2MinionInstance  (Leído 17 veces)

mastif

  • Newbie
  • *
  • Mensajes: 2
  • Karma: +0/-0
    • Ver Perfil
java.lang.ClassCastException: L2MinionInstance
« en: Julio 26, 2020, 10:30:21 am »
Hola a todos los que saben cómo resolver el problema?

java.lang.ClassCastException: class l2j.gameserver.model.actor.instance.L2MinionInstance cannot be cast to class l2j.gameserver.model.actor.instance.L2PcInstance (l2j.gameserver.model.actor.instance.L2MinionInstance and l2j.gameserver.model.actor.instance.L2PcInstance are in unnamed module of loader 'app')
   at l2j.gameserver.model.actor.manager.character.skills.effects.type.EffectHealOverTime.onActionTime(EffectHealOverTime.java:57)
   at l2j.gameserver.model.actor.manager.character.skills.effects.Effect.scheduleEffect(Effect.java:379)
   at l2j.gameserver.model.actor.manager.character.skills.effects.Effect$EffectTask.run(Effect.java:500)
   at l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:149)
   at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
   at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
   at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   at java.base/java.lang.Thread.run(Thread.java:830)