Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
5c79679
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInMyVan committed Jul 27, 2024
1 parent 0035e5e commit 1aa7835
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ private void injectRainbow4(String text, boolean shadow, CallbackInfo ci) {
}

@Debug(print = true)
@Inject(method = "drawString(Ljava/lang/String;FFIZ)I", at = @At("HEAD"), require = 1, allow = 1)
private void injectGradient5(String text, float x, float y, int color, boolean dropShadow, CallbackInfoReturnable<Integer> cir) {
@Inject(method = "renderStringAtPos", at = @At(value = "HEAD"), require = 1, allow = 1)
private void injectGradient5(String text, boolean shadow, CallbackInfo ci) {
gradientEnabled1 = GradientFontShader.INSTANCE.isInUse();
}

Expand Down

0 comments on commit 1aa7835

Please sign in to comment.