Skip to content

Commit 4574ef3

Browse files
committed
Fix: Double # in enderchest embed hex, and reloadconfig command not working.
1 parent ffd618a commit 4574ef3

File tree

2 files changed

+2
-2
lines changed
  • abstraction/src/main/java/com/loohp/multichatdiscordsrvaddon/config
  • common/src/main/java/com/loohp/multichatdiscordsrvaddon/command/subcommand

2 files changed

+2
-2
lines changed

abstraction/src/main/java/com/loohp/multichatdiscordsrvaddon/config/Config.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public record Debug(
456456
new EnderChest(
457457
true,
458458
0,
459-
"##FF55FF",
459+
"#FF55FF",
460460
"&f[&d%player_name%'s Ender Chest&f]",
461461
"%player_name%'s Ender Chest",
462462
"&dShow your Ender Chest in the chat!"

common/src/main/java/com/loohp/multichatdiscordsrvaddon/command/subcommand/ReloadConfigCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void execute(
2626
try {
2727
if (plugin.resourceReloadLock.tryLock(0, TimeUnit.MILLISECONDS)) {
2828
try {
29-
plugin.reloadConfig();
29+
Config.i().reload();
3030
ImageGeneration.onConfigReload();
3131
Bukkit.getPluginManager().callEvent(new MultiChatDiscordSRVConfigReloadEvent());
3232
ChatUtils.sendMessage(Config.i().getMessages().reloadConfig(), sender);

0 commit comments

Comments
 (0)