Rename and clean up MapleLifeFactory

This commit is contained in:
P0nk
2021-09-09 22:04:57 +02:00
parent 1f349d1dae
commit 38c700ca48
113 changed files with 309 additions and 308 deletions

View File

@@ -11,7 +11,7 @@ function start(ms) {
return;
}
const MapleLifeFactory = Java.type('server.life.MapleLifeFactory');
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(mobId), pos);
const LifeFactory = Java.type('server.life.LifeFactory');
map.spawnMonsterOnGroundBelow(LifeFactory.getMonster(mobId), pos);
player.message(mobName + " has appeared!");
}