summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/command/defaults/BanCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/BanIpCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/DeopCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/GameModeCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/GiveCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/KickCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/MeCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/OpCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/PardonCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/PardonIpCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/SayCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/TeleportCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/TellCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/TimeCommand.java2
-rw-r--r--src/main/java/org/bukkit/command/defaults/WhitelistCommand.java2
15 files changed, 15 insertions, 15 deletions
diff --git a/src/main/java/org/bukkit/command/defaults/BanCommand.java b/src/main/java/org/bukkit/command/defaults/BanCommand.java
index 7d6b0ffa..d415835b 100644
--- a/src/main/java/org/bukkit/command/defaults/BanCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/BanCommand.java
@@ -29,6 +29,6 @@ public class BanCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("ban ");
+ return input.startsWith("ban ") || input.equalsIgnoreCase("ban");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/BanIpCommand.java b/src/main/java/org/bukkit/command/defaults/BanIpCommand.java
index e03a3cb3..e2c1c527 100644
--- a/src/main/java/org/bukkit/command/defaults/BanIpCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/BanIpCommand.java
@@ -29,6 +29,6 @@ public class BanIpCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("ban-ip ");
+ return input.startsWith("ban-ip ") || input.equalsIgnoreCase("ban-ip");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/DeopCommand.java b/src/main/java/org/bukkit/command/defaults/DeopCommand.java
index 29b5d957..a01327dc 100644
--- a/src/main/java/org/bukkit/command/defaults/DeopCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/DeopCommand.java
@@ -37,6 +37,6 @@ public class DeopCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("deop ");
+ return input.startsWith("deop ") || input.equalsIgnoreCase("deop");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/GameModeCommand.java b/src/main/java/org/bukkit/command/defaults/GameModeCommand.java
index 9962dc6a..071ce32c 100644
--- a/src/main/java/org/bukkit/command/defaults/GameModeCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/GameModeCommand.java
@@ -54,6 +54,6 @@ public class GameModeCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("gamemode ");
+ return input.startsWith("gamemode ") || input.equalsIgnoreCase("gamemode");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/GiveCommand.java b/src/main/java/org/bukkit/command/defaults/GiveCommand.java
index 25dbd84d..17cae71b 100644
--- a/src/main/java/org/bukkit/command/defaults/GiveCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/GiveCommand.java
@@ -56,6 +56,6 @@ public class GiveCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("give ");
+ return input.startsWith("give ") || input.equalsIgnoreCase("give");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/KickCommand.java b/src/main/java/org/bukkit/command/defaults/KickCommand.java
index e3b5a08b..85feeb54 100644
--- a/src/main/java/org/bukkit/command/defaults/KickCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/KickCommand.java
@@ -36,6 +36,6 @@ public class KickCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("kick ");
+ return input.startsWith("kick ") || input.equalsIgnoreCase("kick");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/MeCommand.java b/src/main/java/org/bukkit/command/defaults/MeCommand.java
index 8c079415..9dd8c2bb 100644
--- a/src/main/java/org/bukkit/command/defaults/MeCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/MeCommand.java
@@ -34,6 +34,6 @@ public class MeCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("me ");
+ return input.startsWith("me ") || input.equalsIgnoreCase("me");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/OpCommand.java b/src/main/java/org/bukkit/command/defaults/OpCommand.java
index 36ee25a7..76d6cc10 100644
--- a/src/main/java/org/bukkit/command/defaults/OpCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/OpCommand.java
@@ -37,6 +37,6 @@ public class OpCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("op ");
+ return input.startsWith("op ") || input.equalsIgnoreCase("op");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/PardonCommand.java b/src/main/java/org/bukkit/command/defaults/PardonCommand.java
index 866cccf7..d7636c7f 100644
--- a/src/main/java/org/bukkit/command/defaults/PardonCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/PardonCommand.java
@@ -29,6 +29,6 @@ public class PardonCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("pardon ");
+ return input.startsWith("pardon ") || input.equalsIgnoreCase("pardon");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/PardonIpCommand.java b/src/main/java/org/bukkit/command/defaults/PardonIpCommand.java
index 83bd2ccb..732161ff 100644
--- a/src/main/java/org/bukkit/command/defaults/PardonIpCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/PardonIpCommand.java
@@ -29,6 +29,6 @@ public class PardonIpCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("pardon-ip ");
+ return input.startsWith("pardon-ip ") || input.equalsIgnoreCase("pardon-ip");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/SayCommand.java b/src/main/java/org/bukkit/command/defaults/SayCommand.java
index 080d335e..f26dbe93 100644
--- a/src/main/java/org/bukkit/command/defaults/SayCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/SayCommand.java
@@ -39,6 +39,6 @@ public class SayCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("say ");
+ return input.startsWith("say ") || input.equalsIgnoreCase("say");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/TeleportCommand.java b/src/main/java/org/bukkit/command/defaults/TeleportCommand.java
index aa2321fb..0cc63cfd 100644
--- a/src/main/java/org/bukkit/command/defaults/TeleportCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/TeleportCommand.java
@@ -39,6 +39,6 @@ public class TeleportCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("tp ");
+ return input.startsWith("tp ") || input.equalsIgnoreCase("tp");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/TellCommand.java b/src/main/java/org/bukkit/command/defaults/TellCommand.java
index 69dd9745..92cbd74e 100644
--- a/src/main/java/org/bukkit/command/defaults/TellCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/TellCommand.java
@@ -49,6 +49,6 @@ public class TellCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("tell ");
+ return input.startsWith("tell ") || input.equalsIgnoreCase("tell");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/TimeCommand.java b/src/main/java/org/bukkit/command/defaults/TimeCommand.java
index 63f67ba7..a9e6a9fe 100644
--- a/src/main/java/org/bukkit/command/defaults/TimeCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/TimeCommand.java
@@ -59,6 +59,6 @@ public class TimeCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("time ");
+ return input.startsWith("time ") || input.equalsIgnoreCase("time");
}
}
diff --git a/src/main/java/org/bukkit/command/defaults/WhitelistCommand.java b/src/main/java/org/bukkit/command/defaults/WhitelistCommand.java
index 749ccdf2..272a062e 100644
--- a/src/main/java/org/bukkit/command/defaults/WhitelistCommand.java
+++ b/src/main/java/org/bukkit/command/defaults/WhitelistCommand.java
@@ -85,6 +85,6 @@ public class WhitelistCommand extends VanillaCommand {
@Override
public boolean matches(String input) {
- return input.startsWith("whitelist ");
+ return input.startsWith("whitelist ") || input.equalsIgnoreCase("whitelist");
}
}