1.17 release

This commit is contained in:
JFronny 2021-06-08 20:47:48 +02:00
parent e0937e2699
commit eb63e87717
No known key found for this signature in database
GPG Key ID: BEC5ACBBD4EE17E5
2 changed files with 6 additions and 8 deletions

View File

@ -2,7 +2,7 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.17-pre3
minecraft_version=1.17
yarn_mappings=build.1
loader_version=0.11.3
# Mod Properties
@ -10,11 +10,11 @@ mod_version=1.1.2
maven_group=io.gitlab.jfronny
archives_base_name=dynres
#Dependencies
fabric_version=0.34.8+1.17
fabric_version=0.34.9+1.17
modrinth_id=v3lfX2LD
modrinth_required_dependencies=TUqoYNVF
modrinth_optional_dependencies=EDbIonje
modrinth_required_dependencies=dOW0jmMj
modrinth_optional_dependencies=wRE7Emzz
curseforge_id=407012
curseforge_required_dependencies=libjf
curseforge_optional_dependencies=modmenu

View File

@ -8,7 +8,6 @@ import io.gitlab.jfronny.libjf.Libjf;
import io.gitlab.jfronny.libweb.extra.LibWeb;
import io.gitlab.jfronny.libweb.extra.WebPaths;
import net.minecraft.server.dedicated.ServerPropertiesHandler;
import net.minecraft.util.registry.DynamicRegistryManager;
import org.apache.commons.codec.digest.DigestUtils;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
@ -20,7 +19,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;
@Mixin(ServerPropertiesHandler.class)
public class ServerPropertiesHandlerMixin implements ServerPropertiesHandlerExt {
@ -28,8 +26,8 @@ public class ServerPropertiesHandlerMixin implements ServerPropertiesHandlerExt
@Mutable @Final @Shadow public String resourcePackSha1;
@Mutable @Final @Shadow public String resourcePack;
@Inject(at = @At("RETURN"), method = "<init>(Ljava/util/Properties;Lnet/minecraft/util/registry/DynamicRegistryManager;)V")
public void init(Properties properties, DynamicRegistryManager dynamicRegistryManager, CallbackInfo info) {
@Inject(at = @At("RETURN"), method = "<init>(Ljava/util/Properties;)V")
public void init(CallbackInfo info) {
applyChanges(true);
}