mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-03 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
@@ -7,7 +7,7 @@
|
||||
<groupId>com.palmergames.bukkit</groupId>
|
||||
<artifactId>TownyChat</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>0.94</version>
|
||||
<version>0.95</version>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
|
||||
@@ -397,4 +397,6 @@ v0.93:
|
||||
- Use Towny's built-in Commented configuration & adapt to use the new width() option supplied by Spigot.
|
||||
v0.94:
|
||||
- Remove 2 unused replacers in TownyChatFormatter.
|
||||
- Switch to using Translatables, so messages appear in the correct Locale for each player.
|
||||
- Switch to using Translatables, so messages appear in the correct Locale for each player.
|
||||
v0.95:
|
||||
- Regression: channels.yml not handling /townychat reload, bug began in 0.92.
|
||||
@@ -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