Skip to content

Commit

Permalink
πŸ“Œ[main/LocationManager] Implementation without db
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepymalc committed Aug 15, 2021
1 parent 426c478 commit bd3b9a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void loadLocations() {
Document doc = app.dbClient.findOne("Location", "tag", lobby_spawn);
tagLocationMap.put(lobby_spawn,
new Location(this.app.worldManager.getWorldData(WorldManager.world_lobby).world,
doc.getInteger("x"), doc.getInteger("y"), doc.getInteger("z")));
doc.getDouble("x"), doc.getDouble("y"), doc.getDouble("z")));
}

public Location getLocation(String tag) {
Expand Down

0 comments on commit bd3b9a9

Please sign in to comment.