"too much mails" real

This commit is contained in:
Chayapak 2023-07-20 17:21:11 +07:00
parent e575534b6f
commit fd2e5dc0b8

View file

@ -66,7 +66,7 @@ public class MailCommand extends Command {
senderMailsSentTotal++; senderMailsSentTotal++;
} }
if (senderMailsSentTotal > 256) context.sendOutput(Component.text("You are sending too much mails!").color(NamedTextColor.RED)); if (senderMailsSentTotal > 256) context.sendOutput(Component.text("You are sending too many mails!").color(NamedTextColor.RED));
bot.mail.send( bot.mail.send(
new Mail( new Mail(
@ -89,7 +89,7 @@ public class MailCommand extends Command {
senderMailsSentTotal++; senderMailsSentTotal++;
} }
if (senderMailsSentTotal > 256) context.sendOutput(Component.text("You are sending too much mails!").color(NamedTextColor.RED)); if (senderMailsSentTotal > 256) context.sendOutput(Component.text("You are sending too many mails!").color(NamedTextColor.RED));
final CompletableFuture<CompoundTag> future = bot.core.runTracked( final CompletableFuture<CompoundTag> future = bot.core.runTracked(
"minecraft:data get entity " + "minecraft:data get entity " +