Fix broken dojo scripts since introduction of MapId constants
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -71,7 +71,7 @@ public class PortalScriptManager extends AbstractScriptManager {
|
||||
return script.enter(new PortalPlayerInteraction(c, portal));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.warn("Portal script {}", portal.getScriptName(), e);
|
||||
log.warn("Portal script error in: {}", portal.getScriptName(), e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user