Button for viewing content fields on wiki + More tests and fixes

This commit is contained in:
Anuken 2025-10-28 19:33:04 -04:00
parent c06c76d296
commit 3d4b432540
7 changed files with 96 additions and 2 deletions

View file

@ -467,6 +467,13 @@ public class ServerControl implements ApplicationListener{
info("Map directory: &fi@", customMapDirectory.file().getAbsoluteFile().toString());
});
handler.register("reloadpatches", "Reload all patch files from disk.", arg -> {
loadPatchFiles();
if(contentPatches.isEmpty()){
err("No valid content patch files found.");
}
});
handler.register("reloadmaps", "Reload all maps from disk.", arg -> {
int beforeMaps = maps.all().size;
maps.reload();