mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Fixed exception on server boot related to a duplicated attempt to register dialogue for Jarvald
This commit is contained in:
parent
2be5f9eac0
commit
a2eafa8bc0
2 changed files with 1 additions and 4 deletions
|
|
@ -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() {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue