aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/commands/WartSetup.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/commands/WartSetup.java')
-rw-r--r--src/main/java/rosegoldaddons/commands/WartSetup.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/rosegoldaddons/commands/WartSetup.java b/src/main/java/rosegoldaddons/commands/WartSetup.java
index a5cca13..a143349 100644
--- a/src/main/java/rosegoldaddons/commands/WartSetup.java
+++ b/src/main/java/rosegoldaddons/commands/WartSetup.java
@@ -7,6 +7,7 @@ import net.minecraft.command.ICommandSender;
import net.minecraft.util.BlockPos;
import net.minecraft.util.ChatComponentText;
import org.jetbrains.annotations.NotNull;
+import rosegoldaddons.utils.ChatUtils;
import java.util.ArrayList;
import java.util.List;
@@ -47,7 +48,7 @@ public class WartSetup implements ICommand {
wartEnd = (int) Math.floor(Double.parseDouble(args[1]));
}
} else {
- Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("§cInvalid Arguments."));
+ ChatUtils.sendMessage("§cInvalid Arguments.");
}
}