Skip to content

Commit

Permalink
Refresh map data when reloading (#1477)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Herrera <[email protected]>
  • Loading branch information
Pablete1234 authored Jan 8, 2025
1 parent df87feb commit 96aab3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/tc/oc/pgm/command/AdminCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public final class AdminCommand {
@Permission(Permissions.RELOAD)
public void pgm() {
PGM.get().reloadConfig();
PGM.get().getDatastore().refreshMapData();
}

@Command("loadnewmaps|findnewmaps|newmaps")
Expand Down

0 comments on commit 96aab3d

Please sign in to comment.