mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-12-01 14:23:24 +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;
|
||||
|
||||
import com.songoda.ultimatetimber.UltimateTimber;
|
||||
import com.songoda.ultimatetimber.treefall.CustomLoot;
|
||||
import com.songoda.ultimatetimber.utils.Methods;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
||||
@ -9,6 +10,7 @@ public class ReloadCommand {
|
||||
public static void reloadConfig(CommandSender commandSender) {
|
||||
UltimateTimber plugin = UltimateTimber.getInstance();
|
||||
plugin.reloadConfig();
|
||||
CustomLoot.initializeCustomItems();
|
||||
commandSender.sendMessage(Methods.formatText(plugin.getPrefix() + " &7Configuration reloaded"));
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user