aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/commands/Rosedrobe.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/commands/Rosedrobe.java')
-rw-r--r--src/main/java/rosegoldaddons/commands/Rosedrobe.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/rosegoldaddons/commands/Rosedrobe.java b/src/main/java/rosegoldaddons/commands/Rosedrobe.java
index 1f7fd62..d05c6be 100644
--- a/src/main/java/rosegoldaddons/commands/Rosedrobe.java
+++ b/src/main/java/rosegoldaddons/commands/Rosedrobe.java
@@ -16,6 +16,7 @@ import net.minecraftforge.client.event.GuiScreenEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import org.jetbrains.annotations.NotNull;
import rosegoldaddons.Main;
+import rosegoldaddons.utils.ChatUtils;
import scala.actors.threadpool.Arrays;
import java.util.ArrayList;
@@ -53,7 +54,7 @@ public class Rosedrobe implements ICommand {
openWardrobe = true;
slot = Integer.parseInt(args[0]);
} else {
- Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("§cInvalid Arguments."));
+ ChatUtils.sendMessage("§cInvalid Arguments.");
return;
}
}