Fix compatibility with Optifine 1.12.2 E1
Optifine has changed some package names, this commit deals with that.
This commit is contained in:
@@ -9,7 +9,10 @@ import org.spongepowered.asm.mixin.injection.Inject;
|
||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Pseudo
|
||||
@Mixin(targets = "shadersmod/client/ShadersRender", remap = false)
|
||||
@Mixin(targets = {
|
||||
"shadersmod/client/ShadersRender", // Pre Optifine 1.12.2 E1
|
||||
"net/optifine/shaders/ShadersRender" // Post Optifine 1.12.2 E1
|
||||
}, remap = false)
|
||||
public abstract class MixinShadersRender {
|
||||
|
||||
@Inject(method = "renderHand0", at = @At("HEAD"), cancellable = true)
|
||||
|
||||
Reference in New Issue
Block a user