mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 20:52:33 +00:00
Support Fabric 1.17-pre1. (#170)
This commit is contained in:
1 parent
4df8ce38d6
commit
04899ff676
2 files changed
+3
No files matched your search
@@ -58,6 +58,8 @@ public class MixinConfigPlugin implements IMixinConfigPlugin {
|
||||
result = this.world_version >= 2205 && this.protocol_version >= 554; // 19w38a+
|
||||
} else if (mixinClassName.endsWith(".MixinLayerCape") || mixinClassName.endsWith(".MixinRenderPlayer")) {
|
||||
result = this.world_version >= 2210 && this.protocol_version >= 558; // 19w41a+
|
||||
} else if (mixinClassName.endsWith(".MixinTileEntitySkull")) {
|
||||
result = this.world_version <= 2715 && (this.protocol_version <= 803 || (this.protocol_version >= 0x40000001 && this.protocol_version <= 0x4000001C)); // 21w20a-
|
||||
}
|
||||
logger.info("target: " + targetClassName + ", mixin: " + mixinClassName + ", result: " + result);
|
||||
return result;
|
||||
|
||||
@@ -8,6 +8,7 @@ import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
|
||||
/** Fix https://bugs.mojang.com/browse/MC-65587 */
|
||||
@Mixin(TileEntitySkull.class)
|
||||
public abstract class MixinTileEntitySkull {
|
||||
@Inject(
|
||||
|
||||
Reference in new issue
Block a user