aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/eu/olli/cowlection/command/exception/InvalidPlayerNameException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/eu/olli/cowlection/command/exception/InvalidPlayerNameException.java')
-rw-r--r--src/main/java/eu/olli/cowlection/command/exception/InvalidPlayerNameException.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/eu/olli/cowlection/command/exception/InvalidPlayerNameException.java b/src/main/java/eu/olli/cowlection/command/exception/InvalidPlayerNameException.java
deleted file mode 100644
index 3c0c06e..0000000
--- a/src/main/java/eu/olli/cowlection/command/exception/InvalidPlayerNameException.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package eu.olli.cowlection.command.exception;
-
-import net.minecraft.command.SyntaxErrorException;
-import net.minecraft.util.EnumChatFormatting;
-
-public class InvalidPlayerNameException extends SyntaxErrorException {
- public InvalidPlayerNameException(String playerName) {
- super(EnumChatFormatting.DARK_RED + playerName + EnumChatFormatting.RED + "? This... doesn't look like a valid username.");
- }
-}