This commit is contained in:
BitHeaven 2024-09-29 12:34:32 +05:00
parent 5655fcbd6b
commit 74fd36eea9
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10 yarn_mappings=1.20.1+build.10
loader_version=0.16.5 loader_version=0.16.5
# Mod Properties # Mod Properties
mod_version=1.0.0 mod_version=1.0.1
maven_group=ru.bitheaven maven_group=ru.bitheaven
archives_base_name=donpayinteg archives_base_name=donpayinteg
# Dependencies # Dependencies

View File

@ -38,7 +38,7 @@ public class DonPayInteg implements ModInitializer {
} }
} }
if(i.getAndIncrement() % (20 * 2) == 0) { if(j.getAndIncrement() % (20 * 2) == 0) {
if (!commands.isEmpty()) { if (!commands.isEmpty()) {
world.getCommandManager().executeWithPrefix(world.getCommandSource(), commands.getFirst()); world.getCommandManager().executeWithPrefix(world.getCommandSource(), commands.getFirst());
commands.removeFirst(); commands.removeFirst();