quick fix
This commit is contained in:
parent
d8cd4ccf08
commit
0b2b537996
|
@ -136,7 +136,7 @@ public abstract class TextFieldWidgetMixin extends ClickableWidget implements IT
|
||||||
|
|
||||||
@Inject(method = "renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V", at = @At(value = "TAIL"))
|
@Inject(method = "renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V", at = @At(value = "TAIL"))
|
||||||
void renderTransformStart(MatrixStack matrices, int mouseX, int mouseY, float delta, CallbackInfo ci) {
|
void renderTransformStart(MatrixStack matrices, int mouseX, int mouseY, float delta, CallbackInfo ci) {
|
||||||
if (isVisible() && Cfg.visualize) {
|
if (isVisible() && Cfg.Client.visualize) {
|
||||||
int y = this.drawsBackground ? this.getY() + (this.height - 8) / 2 : this.getY();
|
int y = this.drawsBackground ? this.getY() + (this.height - 8) / 2 : this.getY();
|
||||||
if (transformStart.isAvailable()) {
|
if (transformStart.isAvailable()) {
|
||||||
int x = getCharacterX(transformStart.get());
|
int x = getCharacterX(transformStart.get());
|
||||||
|
|
Loading…
Reference in New Issue