Add embeds footer text to custom translations. #3

Merge aplicado
RealRTTV mesclou 26 commits from master into development 2021-11-14 04:35:26 +00:00
2 arquivos alterados com 4 adições e 2 exclusões
Mostrando apenas as alterações do commit a7d44adc54 - Mostrar todos os commits

Fix crash when whitelistScheduledVerificationSeconds is below 30

Luna Fox 2021-03-18 22:03:21 -03:00

Ver arquivo

@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx1G
minecraft_version=21w10a
yarn_mappings=21w10a+build.10
loader_version=0.11.3
mod_version=0.2
mod_version=0.2.1
maven_group=com.awakenedredstone
archives_base_name=autowhitelist

Ver arquivo

@ -48,7 +48,9 @@ public class Config {
if (configData.whitelistScheduledVerificationSeconds < 30) {
AutoWhitelist.LOGGER.warn("Whitelist scheduled verification time is really low. It is not recommended to have it lower than 30 seconds, since it can affect the server performance.");
AutoWhitelist.server.getCommandSource().sendFeedback(new LiteralText("Whitelist scheduled verification time is really low. It is not recommended to have it lower than 30 seconds, since it can affect the server performance."), true);
try {
AutoWhitelist.server.getCommandSource().sendFeedback(new LiteralText("Whitelist scheduled verification time is really low. It is not recommended to have it lower than 30 seconds, since it can affect the server performance."), true);
} catch (NullPointerException ignored) {}
}
} catch (IOException e) {
AutoWhitelist.LOGGER.error(e);