Fixed exception on server boot related to a duplicated attempt to register dialogue for Jarvald
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user