Если бы я не пробовал убирать Exit, я бы сюда не писал - когда убираю exit - предмет добавляется, но потом в ГС ошибка (NPE), и второе условие из-за этой ошибки тоже не выполняется
Exception in word 'Zxc' defined in file 'data/jbforth/quests/quest/main.f' while execute word 'INVENTORY?'Return stack trace:
: Zxc step@ 1 = ?BRANCH 20 1 3509 killer p.items_add 3509 PLAYER@ >| INVENTORY? |< 4 > ?BRANCH 19 "You can return to the QuestNPC!" . exit exit exit ;
java.lang.NullPointerException
at ru.balancer.JBForth.abort(JBForth.java:212)
at ru.balancer.jbforth.Word.printStackTrace(Word.java:222)
at l2f.gameserver.model.L2Character.jbfHandlersList(L2Character.java:4922)
at l2f.gameserver.model.L2Character.doDie(L2Character.java:2735)
at l2f.gameserver.model.instances.L2NpcInstance.doDie(L2NpcInstance.java:1623)
at l2f.gameserver.model.L2Attackable.doDie(L2Attackable.java:586)
at l2f.gameserver.model.instances.L2MonsterInstance.doDie(L2MonsterInstance.java:234)
at l2f.gameserver.model.L2Character.reduceCurrentHp(L2Character.java:2653)
at l2f.gameserver.model.L2Attackable.reduceCurrentHp(L2Attackable.java:494)
at l2f.gameserver.model.L2Attackable.reduceCurrentHp(L2Attackable.java:452)
at l2f.gameserver.model.L2Character.onHitTimer(L2Character.java:3602)
at l2f.gameserver.model.L2Player.onHitTimer(L2Player.java:2265)
at l2f.gameserver.model.L2Character$HitTask.run(L2Character.java:211)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)