Fix broken dojo scripts since introduction of MapId constants

This commit is contained in:
P0nk
2022-08-02 16:31:15 +02:00
parent 563d3033b9
commit 8d213e4d6e
4 changed files with 7 additions and 7 deletions

View File

@@ -155,8 +155,8 @@ public class NPCScriptManager extends AbstractScriptManager {
c.sendPacket(PacketCreator.enableActions());
}
return true;
} catch (final Exception ute) {
log.error("Error starting NPC script: {}", npc);
} catch (Exception e) {
log.error("Error starting NPC script: {}", npc, e);
dispose(c);
return false;