fixed reload for custom items.

This commit is contained in:
Brianna O'Keefe 2018-11-23 11:48:07 -05:00
parent a52c2ad0be
commit 3a0b05c987

View File

@ -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"));