mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-04 11:15:21 +00:00
Fix Presets duplicating on b reload
This commit is contained in:
parent
db6d7a9e8b
commit
1e683032b1
1 changed files with 1 additions and 0 deletions
|
@ -1244,6 +1244,7 @@ public class GeneralMethods {
|
||||||
stopPlugin();
|
stopPlugin();
|
||||||
}
|
}
|
||||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||||
|
Preset.unloadPreset(player);
|
||||||
GeneralMethods.createBendingPlayer(player.getUniqueId(), player.getName());
|
GeneralMethods.createBendingPlayer(player.getUniqueId(), player.getName());
|
||||||
}
|
}
|
||||||
plugin.updater.checkUpdate();
|
plugin.updater.checkUpdate();
|
||||||
|
|
Loading…
Reference in a new issue