diff --git a/bukkit/src/main/java/de/themoep/resourcepacksplugin/bukkit/WorldResourcepacks.java b/bukkit/src/main/java/de/themoep/resourcepacksplugin/bukkit/WorldResourcepacks.java index 786cb41c..75c90c3f 100644 --- a/bukkit/src/main/java/de/themoep/resourcepacksplugin/bukkit/WorldResourcepacks.java +++ b/bukkit/src/main/java/de/themoep/resourcepacksplugin/bukkit/WorldResourcepacks.java @@ -260,6 +260,7 @@ public void reloadConfig(boolean resend) { getLogger().log(Level.INFO, "Reloaded config."); if(isEnabled() && resend) { getLogger().log(Level.INFO, "Resending packs for all online players!"); + um = new UserManager(this); for(Player p : getServer().getOnlinePlayers()) { resendPack(p); } diff --git a/bungee/src/main/java/de/themoep/resourcepacksplugin/bungee/BungeeResourcepacks.java b/bungee/src/main/java/de/themoep/resourcepacksplugin/bungee/BungeeResourcepacks.java index 71078c58..e913c6ec 100644 --- a/bungee/src/main/java/de/themoep/resourcepacksplugin/bungee/BungeeResourcepacks.java +++ b/bungee/src/main/java/de/themoep/resourcepacksplugin/bungee/BungeeResourcepacks.java @@ -286,6 +286,7 @@ public void reloadConfig(boolean resend) { getLogger().log(Level.INFO, "Reloaded config."); if(isEnabled() && resend) { getLogger().log(Level.INFO, "Resending packs for all online players!"); + um = new UserManager(this); for (ProxiedPlayer p : getProxy().getPlayers()) { resendPack(p); }