Unblock selector in some commands (#324)

This commit is contained in:
Chipmunk 2022-10-30 22:10:24 +00:00 committed by GitHub
parent 5ed49c99b4
commit 03a2fec6f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,14 +178,8 @@ public final class ServerCommand implements Listener {
return String.join(" ", arr);
}
break;
case "/minecraft:bossbar":
case "/minecraft:setblock":
case "/minecraft:tellraw":
case "/minecraft:title":
case "/bossbar":
case "/setblock":
case "/tellraw":
case "/title":
final String charCommand = parseCharCodes(command);
if (charCommand.contains("selector")) {
return "cancel";