Block summon subcommand in execute

This commit is contained in:
Allink 2023-04-02 03:50:27 +01:00
parent 9cf76a8ee6
commit 4bbec866ff
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@ public final class ServerCommand implements Listener {
}
for (int i = 1; i < arr.length; i++) {
if ("summon".equalsIgnoreCase(arr[i])) {
return "cancel";
}
if (!"run".equalsIgnoreCase(arr[i])) {
continue;
}