Rename MapleMapPortal

This commit is contained in:
P0nk committed 2021-09-09 22:31:36 +02:00
1 parent fa8222d9a0
commit efb1cb0632
2 files changed
+3 -3

No files matched your search

@@ -21,8 +21,8 @@
*/ */
package server.maps; package server.maps;
public class MapleMapPortal extends GenericPortal { public class MapPortal extends GenericPortal {
public MapleMapPortal() { public MapPortal() {
super(MaplePortal.MAP_PORTAL); super(MaplePortal.MAP_PORTAL);
} }
} }
@@ -36,7 +36,7 @@ public class MaplePortalFactory {
public MaplePortal makePortal(int type, Data portal) { public MaplePortal makePortal(int type, Data portal) {
GenericPortal ret = null; GenericPortal ret = null;
if (type == MaplePortal.MAP_PORTAL) { if (type == MaplePortal.MAP_PORTAL) {
ret = new MapleMapPortal(); ret = new MapPortal();
} else { } else {
ret = new GenericPortal(type); ret = new GenericPortal(type);
} }