Rename and clean up MapleMonsterInformationProvider

This commit is contained in:
P0nk
2021-09-09 22:06:55 +02:00
parent 02786eab63
commit 2acf2ed83d
14 changed files with 34 additions and 34 deletions

View File

@@ -314,9 +314,9 @@ public class Monster extends AbstractLoadedLife {
long animationTime;
if (skill == null) {
animationTime = MapleMonsterInformationProvider.getInstance().getMobAttackAnimationTime(this.getId(), attackPos);
animationTime = MonsterInformationProvider.getInstance().getMobAttackAnimationTime(this.getId(), attackPos);
} else {
animationTime = MapleMonsterInformationProvider.getInstance().getMobSkillAnimationTime(skill);
animationTime = MonsterInformationProvider.getInstance().getMobSkillAnimationTime(skill);
}
if (animationTime > 0) {
@@ -738,7 +738,7 @@ public class Monster extends AbstractLoadedLife {
public List<MonsterDropEntry> retrieveRelevantDrops() {
if (this.getStats().isFriendly()) { // thanks Conrad for noticing friendly mobs not spawning loots after a recent update
return MapleMonsterInformationProvider.getInstance().retrieveEffectiveDrop(this.getId());
return MonsterInformationProvider.getInstance().retrieveEffectiveDrop(this.getId());
}
Map<Integer, Character> pchars = map.getMapAllPlayers();
@@ -1542,7 +1542,7 @@ public class Monster extends AbstractLoadedLife {
}
*/
Pair<Integer, Integer> attackInfo = MapleMonsterInformationProvider.getInstance().getMobAttackInfo(this.getId(), attackPos);
Pair<Integer, Integer> attackInfo = MonsterInformationProvider.getInstance().getMobAttackInfo(this.getId(), attackPos);
if (attackInfo == null) {
return -1;
}