mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 14:38:58 +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>
|
<groupId>com.palmergames.bukkit</groupId>
|
||||||
<artifactId>TownyChat</artifactId>
|
<artifactId>TownyChat</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>0.94</version>
|
<version>0.95</version>
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
|
|||||||
@@ -397,4 +397,6 @@ v0.93:
|
|||||||
- Use Towny's built-in Commented configuration & adapt to use the new width() option supplied by Spigot.
|
- Use Towny's built-in Commented configuration & adapt to use the new width() option supplied by Spigot.
|
||||||
v0.94:
|
v0.94:
|
||||||
- Remove 2 unused replacers in TownyChatFormatter.
|
- 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;
|
public static boolean usingEssentialsDiscord = false;
|
||||||
boolean chatConfigError = false;
|
boolean chatConfigError = false;
|
||||||
boolean channelsConfigError = false;
|
boolean channelsConfigError = false;
|
||||||
private static ConcurrentMap<UUID, Channel> playerChannelMap = new ConcurrentHashMap<>();
|
private static ConcurrentMap<UUID, Channel> playerChannelMap;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
@@ -63,6 +63,7 @@ public class Chat extends JavaPlugin {
|
|||||||
pm = getServer().getPluginManager();
|
pm = getServer().getPluginManager();
|
||||||
channelsConfig = new ConfigurationHandler(this);
|
channelsConfig = new ConfigurationHandler(this);
|
||||||
channels = new ChannelsHolder(this);
|
channels = new ChannelsHolder(this);
|
||||||
|
playerChannelMap = new ConcurrentHashMap<>();
|
||||||
|
|
||||||
checkPlugins();
|
checkPlugins();
|
||||||
loadConfigs();
|
loadConfigs();
|
||||||
@@ -120,6 +121,7 @@ public class Chat extends JavaPlugin {
|
|||||||
|
|
||||||
channelsConfig = null;
|
channelsConfig = null;
|
||||||
channels = null;
|
channels = null;
|
||||||
|
playerChannelMap = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user