Skip to content

Commit 53dee4a

Browse files
committed
fixed resource binding
1 parent 467a94f commit 53dee4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/polyfrost/chatting/mixin/GuiNewChatMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ private void chatScale(CallbackInfoReturnable<Float> cir) {
332332

333333
@Unique
334334
private void chatting$drawButton(ResourceLocation location, int left, int top, int right) {
335-
mc.getTextureManager().bindTexture(chatting$DELETE);
335+
mc.getTextureManager().bindTexture(location);
336336
boolean hovered = chatting$isHovered(left, top, 9, 9);
337337
OneColor color = hovered ? chatting$config().getChatButtonHoveredBackgroundColor() : chatting$config().getChatButtonBackgroundColor();
338338
drawRect(left, top, right, top + 9, color.getRGB());

0 commit comments

Comments
 (0)