Skip to content

Commit

Permalink
Fix packs not resending on resend reload when player already had the …
Browse files Browse the repository at this point in the history
…pack
  • Loading branch information
Phoenix616 committed Nov 10, 2016
1 parent d013f04 commit 67e636b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 67e636b

Please sign in to comment.