Fixed exception on server boot related to a duplicated attempt to register dialogue for Jarvald

This commit is contained in:
Player Name 2024-11-14 10:44:00 +00:00 committed by Ryan
parent 2be5f9eac0
commit a2eafa8bc0
2 changed files with 1 additions and 4 deletions

View file

@ -200,7 +200,6 @@ class JarvaldDialogue(player: Player? = null) : DialoguePlugin(player) {
}
override fun getIds(): IntArray {
// 2435 is a wrapper for 2436
return intArrayOf(2435, NPCs.JARVALD_2436, NPCs.JARVALD_2437, NPCs.JARVALD_2438)
return intArrayOf(NPCs.JARVALD_2435, NPCs.JARVALD_2436, NPCs.JARVALD_2437, NPCs.JARVALD_2438)
}
}

View file

@ -1,6 +1,5 @@
package content.region.fremennik.rellekka.handlers;
import content.region.fremennik.rellekka.dialogue.JarvaldDialogue;
import content.region.fremennik.rellekka.dialogue.MariaGunnarsDialogue;
import core.cache.def.impl.SceneryDefinition;
import core.game.system.task.Pulse;
@ -41,7 +40,6 @@ public final class RellekkaZone extends MapZone implements Plugin<Object> {
@Override
public Plugin<Object> newInstance(Object arg) throws Throwable {
ZoneBuilder.configure(this);
ClassScanner.definePlugin(new JarvaldDialogue());
ClassScanner.definePlugins(new RellekaOptionHandler(), new MariaGunnarsDialogue());
ClassScanner.definePlugin(new OptionHandler() {