Small changes in reloadmaps command (#5687)

Idk is it useful, but why not
This commit is contained in:
Darkness6030 2021-08-03 16:33:27 +03:00 committed by GitHub
parent 36deb5e225
commit 7f896723be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,6 +380,8 @@ public class ServerControl implements ApplicationListener{
maps.reload();
if(maps.all().size > beforeMaps){
info("@ new map(s) found and reloaded.", maps.all().size - beforeMaps);
}else if(maps.all().size < beforeMaps){
info("@ old map(s) deleted.", beforeMaps - maps.all().size);
}else{
info("Maps reloaded.");
}