Skip to content

Commit

Permalink
fixed buggy mixin
Browse files Browse the repository at this point in the history
- fixed method signature on mixin that changes between 1.20.1 and 1.21
  • Loading branch information
Incandescent-Turtle committed Dec 28, 2024
1 parent 4940acb commit 9779d59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public abstract class EntityRendererMixin
// stores a variable for use in the enhanced nametag mixin
private Entity currentEntity;
@Inject(method = "renderLabelIfPresent", at = @At(value = "HEAD"), locals = LocalCapture.CAPTURE_FAILEXCEPTION)
private void captureEntity(Entity entity, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, float tickDelta, CallbackInfo ci) {
private void captureEntity(Entity entity, Text text, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, CallbackInfo ci) {
this.currentEntity = entity;
}

Expand Down

0 comments on commit 9779d59

Please sign in to comment.