Replace MapleMap var with getMap()

This commit is contained in:
Charlie Unfricht
2022-09-21 18:17:24 -04:00
parent 79f19331f4
commit a03bdbf695

View File

@@ -272,12 +272,11 @@ public class ReactorActionManager extends AbstractPlayerInteraction {
} }
public void killMonster(int id, boolean withDrops) { public void killMonster(int id, boolean withDrops) {
MapleMap map = getMap();
if (withDrops) { if (withDrops) {
map.killMonsterWithDrops(id); getMap().killMonsterWithDrops(id);
} }
else { else {
map.killMonster(id); getMap().killMonster(id);
} }
} }