mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-12-01 22:33:23 +01:00
fixed reload for custom items.
This commit is contained in:
parent
a52c2ad0be
commit
3a0b05c987
@ -1,6 +1,7 @@
|
|||||||
package com.songoda.ultimatetimber.commands;
|
package com.songoda.ultimatetimber.commands;
|
||||||
|
|
||||||
import com.songoda.ultimatetimber.UltimateTimber;
|
import com.songoda.ultimatetimber.UltimateTimber;
|
||||||
|
import com.songoda.ultimatetimber.treefall.CustomLoot;
|
||||||
import com.songoda.ultimatetimber.utils.Methods;
|
import com.songoda.ultimatetimber.utils.Methods;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
@ -9,6 +10,7 @@ public class ReloadCommand {
|
|||||||
public static void reloadConfig(CommandSender commandSender) {
|
public static void reloadConfig(CommandSender commandSender) {
|
||||||
UltimateTimber plugin = UltimateTimber.getInstance();
|
UltimateTimber plugin = UltimateTimber.getInstance();
|
||||||
plugin.reloadConfig();
|
plugin.reloadConfig();
|
||||||
|
CustomLoot.initializeCustomItems();
|
||||||
commandSender.sendMessage(Methods.formatText(plugin.getPrefix() + " &7Configuration reloaded"));
|
commandSender.sendMessage(Methods.formatText(plugin.getPrefix() + " &7Configuration reloaded"));
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user