Rename MaplePortalFactory

This commit is contained in:
P0nk
2021-09-09 22:37:14 +02:00
parent 7f4760ba1a
commit d7851ef40e
2 changed files with 3 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ public class MapFactory {
map.setFieldLimit(DataTool.getInt(infoData.getChildByPath("fieldLimit"), 0));
map.setMobInterval((short) DataTool.getInt(infoData.getChildByPath("createMobInterval"), 5000));
MaplePortalFactory portalFactory = new MaplePortalFactory();
PortalFactory portalFactory = new PortalFactory();
for (Data portal : mapData.getChildByPath("portal")) {
map.addPortal(portalFactory.makePortal(DataTool.getInt(portal.getChildByPath("pt")), portal));
}

View File

@@ -26,10 +26,10 @@ import provider.DataTool;
import java.awt.*;
public class MaplePortalFactory {
public class PortalFactory {
private int nextDoorPortal;
public MaplePortalFactory() {
public PortalFactory() {
nextDoorPortal = 0x80;
}