ребята, помогите мне с этой ошибкой

oneoloki

Путник
Пользователь
Сообщения
17
Розыгрыши
0
Репутация
-26
Реакции
1
Баллы
0
[25.08.16 11:57:46:222] ERROR threading.RunnableImpl: Exception: RunnableImpl.run(): java.lang.NullPointerException
java.lang.NullPointerException
at unigamers.gameserver.model.instances.MonsterInstance.calculateRewards(MonsterInstance.java:441)
at unigamers.gameserver.model.instances.MonsterInstance.onDeath(MonsterInstance.java:307)
at unigamers.gameserver.model.Creature.doDie(Creature.java:1838)
at unigamers.gameserver.model.Creature.onReduceCurrentHp(Creature.java:3751)
at unigamers.gameserver.model.instances.NpcInstance.onReduceCurrentHp(NpcInstance.java:285)
at unigamers.gameserver.model.instances.MonsterInstance.onReduceCurrentHp(MonsterInstance.java:336)
at unigamers.gameserver.model.Creature.reduceCurrentHp(Creature.java:3700)
at unigamers.gameserver.model.Creature.onHitTimer(Creature.java:3245)
at unigamers.gameserver.model.GameObjectTasks$HitTask.runImpl(GameObjectTasks.java:301)
at unigamers.commons.threading.RunnableImpl.run(RunnableImpl.java:21)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at unigamers.commons.threading.PriorityThreadFactory$1.run(PriorityThreadFactory.java:35)


Когда вы убиваете толпы уровня 1 до 4 появляется эта ошибка в моем gameserver кто-то может помочь мне в этом
было бы очень благодарен
 
public void calculateRewards(Creature lastAttacker) {
Creature topDamager = getAggroList().getTopDamager(lastAttacker);
if (lastAttacker == null || !lastAttacker.isPlayable()) {
lastAttacker = topDamager;
}
 
Назад
Сверху Снизу