Rename and clean up MapleReactorFactory

This commit is contained in:
P0nk
2021-09-09 22:38:37 +02:00
parent dc4d710d12
commit 036854a8be
3 changed files with 7 additions and 8 deletions

View File

@@ -352,7 +352,7 @@ public class MapFactory {
}
private static Reactor loadReactor(Data reactor, String id, final byte FacingDirection) {
Reactor myReactor = new Reactor(MapleReactorFactory.getReactor(Integer.parseInt(id)), Integer.parseInt(id));
Reactor myReactor = new Reactor(ReactorFactory.getReactor(Integer.parseInt(id)), Integer.parseInt(id));
int x = DataTool.getInt(reactor.getChildByPath("x"));
int y = DataTool.getInt(reactor.getChildByPath("y"));
myReactor.setFacingDirection(FacingDirection);