Rename and clean up MapleMiniDungeonInfo

This commit is contained in:
P0nk
2021-09-09 22:33:09 +02:00
parent 867624f980
commit b62ee8c8e2
10 changed files with 97 additions and 98 deletions

View File

@@ -2443,7 +2443,7 @@ public class MapleMap {
chr.changeMap(130000210, 0);
}
}, travelTime);
} else if (MapleMiniDungeonInfo.isDungeonMap(mapid)) {
} else if (MiniDungeonInfo.isDungeonMap(mapid)) {
MiniDungeon mmd = chr.getClient().getChannelServer().getMiniDungeon(mapid);
if (mmd != null) {
mmd.registerPlayer(chr);
@@ -2681,7 +2681,7 @@ public class MapleMap {
chrWLock.unlock();
}
if (MapleMiniDungeonInfo.isDungeonMap(mapid)) {
if (MiniDungeonInfo.isDungeonMap(mapid)) {
MiniDungeon mmd = cserv.getMiniDungeon(mapid);
if (mmd != null) {
if (!mmd.unregisterPlayer(chr)) {