Rename and clean up MapleMonster

This commit is contained in:
P0nk
2021-09-09 22:06:11 +02:00
parent 38c700ca48
commit 02786eab63
42 changed files with 520 additions and 529 deletions

View File

@@ -237,7 +237,7 @@ public class LifeFactory {
return new Pair<>(stats, attackInfos);
}
public static MapleMonster getMonster(int mid) {
public static Monster getMonster(int mid) {
try {
MapleMonsterStats stats = monsterStats.get(mid);
if (stats == null) {
@@ -247,7 +247,7 @@ public class LifeFactory {
monsterStats.put(mid, stats);
}
MapleMonster ret = new MapleMonster(mid, stats);
Monster ret = new Monster(mid, stats);
return ret;
} catch (NullPointerException npe) {
System.out.println("[SEVERE] MOB " + mid + " failed to load. Issue: " + npe.getMessage() + "\n\n");