查找：

    public boolean executePortalScript(MaplePortal portal, MapleClient c) {
        try {
            NashornScriptEngine iv = getPortalScript(portal.getScriptName());
            if (iv != null) {
                boolean couldWarp = (boolean) iv.invokeFunction("enter", new PortalPlayerInteraction(c, portal));
                return couldWarp;
            }
        } catch (UndeclaredThrowableException ute) {
            FilePrinter.printError(FilePrinter.PORTAL + portal.getScriptName() + ".txt", ute);
        } catch (final Exception e) {
            FilePrinter.printError(FilePrinter.PORTAL + portal.getScriptName() + ".txt", e);
        }
        return false;
    }


替换：


    public boolean executePortalScript(MaplePortal portal, MapleClient c) {
        try {
            NashornScriptEngine iv = getPortalScript(portal.getScriptName());
            if (iv != null) {
                boolean couldWarp = (boolean) iv.invokeFunction("enter", new PortalPlayerInteraction(c, portal));
                if (c.getPlayer().isGM()) {
                c.getPlayer().dropMessage(5, "传送/" + portal.getScriptName() + ".js" );
                }
                return couldWarp;
            }
        } catch (UndeclaredThrowableException ute) {
            FilePrinter.printError(FilePrinter.PORTAL + portal.getScriptName() + ".txt", ute);
        } catch (final Exception e) {
            FilePrinter.printError(FilePrinter.PORTAL + portal.getScriptName() + ".txt", e);
        }
        return false;
    }