From 674abf314ee0fe22ba87b60c6dbc701d96b5e1ae Mon Sep 17 00:00:00 2001 From: Brianna O'Keefe Date: Sun, 3 Feb 2019 23:19:26 -0500 Subject: [PATCH] fix --- .../songoda/epicfarming/command/commands/CommandReload.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/command/commands/CommandReload.java b/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/command/commands/CommandReload.java index 69d9c20..5f5254f 100644 --- a/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/command/commands/CommandReload.java +++ b/EpicFarming-Plugin/src/main/java/com/songoda/epicfarming/command/commands/CommandReload.java @@ -1,8 +1,8 @@ package com.songoda.epicfarming.command.commands; -import com.songoda.arconix.api.methods.formatting.TextComponent; import com.songoda.epicfarming.EpicFarmingPlugin; import com.songoda.epicfarming.command.AbstractCommand; +import com.songoda.epicfarming.utils.Methods; import org.bukkit.command.CommandSender; public class CommandReload extends AbstractCommand { @@ -14,7 +14,7 @@ public class CommandReload extends AbstractCommand { @Override protected ReturnType runCommand(EpicFarmingPlugin instance, CommandSender sender, String... args) { instance.reload(); - sender.sendMessage(TextComponent.formatText(instance.getReferences().getPrefix() + "&7Configuration and Language files reloaded.")); + sender.sendMessage(Methods.formatText(instance.getReferences().getPrefix() + "&7Configuration and Language files reloaded.")); return ReturnType.SUCCESS; }