0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

[Wurst-Bot] Update to 1.21-pre2

This commit is contained in:
Alexander01998 2024-05-31 16:40:52 +02:00
parent ffa13bd951
commit cc72c8d737
3 changed files with 7 additions and 6 deletions

View File

@ -5,15 +5,15 @@ org.gradle.parallel=true
# Fabric Properties
# check these at https://fabricmc.net/develop/ and
# https://modrinth.com/mod/fabric-api/versions
minecraft_version=1.21-pre1
yarn_mappings=1.21-pre1+build.2
minecraft_version=1.21-pre2
yarn_mappings=1.21-pre2+build.1
loader_version=0.15.11
# Fabric API
fabric_version=0.99.2+1.21
fabric_version=0.99.4+1.21
# Mod Properties
mod_version = v7.42-MC1.21-pre1
mod_version = v7.42-MC1.21-pre2
maven_group = net.wurstclient
archives_base_name = Wurst-Client

View File

@ -59,7 +59,7 @@ public enum WurstClient
public static IMinecraftClient IMC;
public static final String VERSION = "7.42";
public static final String MC_VERSION = "1.21-pre1";
public static final String MC_VERSION = "1.21-pre2";
private WurstAnalytics analytics;
private EventManager eventManager;

View File

@ -423,7 +423,8 @@ public final class AutoLibrarianHack extends Hack
continue;
Set<Entry<RegistryEntry<Enchantment>>> enchantmentLevelMap =
EnchantmentHelper.getEnchantments(stack).getEnchantmentsMap();
EnchantmentHelper.getEnchantments(stack)
.getEnchantmentEntries();
if(enchantmentLevelMap.isEmpty())
continue;