mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 06:28:57 +00:00
- Regression: channels.yml not handling /townychat reload, bug began
in 0.92.
This commit is contained in:
1 parent
1975aa85ca
commit
7d6cad6ddf
3 files changed
+7
-3
No files matched your search
@@ -55,7 +55,7 @@ public class Chat extends JavaPlugin {
|
||||
public static boolean usingEssentialsDiscord = false;
|
||||
boolean chatConfigError = false;
|
||||
boolean channelsConfigError = false;
|
||||
private static ConcurrentMap<UUID, Channel> playerChannelMap = new ConcurrentHashMap<>();
|
||||
private static ConcurrentMap<UUID, Channel> playerChannelMap;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
@@ -63,6 +63,7 @@ public class Chat extends JavaPlugin {
|
||||
pm = getServer().getPluginManager();
|
||||
channelsConfig = new ConfigurationHandler(this);
|
||||
channels = new ChannelsHolder(this);
|
||||
playerChannelMap = new ConcurrentHashMap<>();
|
||||
|
||||
checkPlugins();
|
||||
loadConfigs();
|
||||
@@ -120,6 +121,7 @@ public class Chat extends JavaPlugin {
|
||||
|
||||
channelsConfig = null;
|
||||
channels = null;
|
||||
playerChannelMap = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user