mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-11 19:00:37 +01:00
Refresh locationLookup on /citizens reload
This commit is contained in:
parent
9103823ebb
commit
c706b17848
@ -484,6 +484,8 @@ public class Citizens extends JavaPlugin implements CitizensPlugin {
|
||||
shops.loadFromDisk();
|
||||
shops.load();
|
||||
|
||||
locationLookup = new LocationLookup();
|
||||
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, locationLookup, 0, 5);
|
||||
Template.shutdown();
|
||||
|
||||
getServer().getPluginManager().callEvent(new CitizensReloadEvent());
|
||||
|
Loading…
Reference in New Issue
Block a user