mirror of
https://github.com/kaboomserver/extras.git
synced 2024-05-16 09:51:18 +00:00
Improved target selector detection for /title command
This commit is contained in:
parent
1adb54013a
commit
207387a028
|
@ -129,7 +129,10 @@ public final class ServerCommand implements Listener {
|
|||
break;
|
||||
case "/minecraft:title":
|
||||
case "/title":
|
||||
if (command.contains("selector")) {
|
||||
if (command.contains("@a")
|
||||
|| command.contains("@e")
|
||||
|| command.contains("@p")
|
||||
|| command.contains("@r")) {
|
||||
return "cancel";
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue