Rename MaplePortal

This commit is contained in:
P0nk
2021-09-09 22:36:45 +02:00
parent 667bc69eb1
commit 7f4760ba1a
19 changed files with 69 additions and 69 deletions

View File

@@ -46,8 +46,8 @@ import server.life.Monster;
import server.life.NPC;
import server.maps.MapManager;
import server.maps.MapleMap;
import server.maps.MaplePortal;
import server.maps.MapleReactor;
import server.maps.Portal;
import tools.PacketCreator;
import tools.Pair;
@@ -1277,7 +1277,7 @@ public class EventInstanceManager {
thisStage--; //stages counts from ONE, scripts from ZERO
MapleMap nextStage = getMapInstance(thisMapId);
MaplePortal portal = nextStage.getPortal("next00");
Portal portal = nextStage.getPortal("next00");
if (portal != null) {
portal.setScriptName(eventFamily + thisStage);
}
@@ -1288,7 +1288,7 @@ public class EventInstanceManager {
thisStage--; //stages counts from ONE, scripts from ZERO
MapleMap nextStage = getMapInstance(thisMapId);
MaplePortal portal = nextStage.getPortal(portalName);
Portal portal = nextStage.getPortal(portalName);
if (portal != null) {
portal.setScriptName(scriptName);
}