mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 22:29:50 +00:00
Fix Button
This commit is contained in:
1 parent
5de68934eb
commit
8a270b1548
2 files changed
+2
-2
No files matched your search
@@ -46,7 +46,7 @@ public class GuiNpcSquareButton extends GuiNpcButton {
|
||||
public void updatePositionAndSize(int x, int y, int newSize) {
|
||||
this.xPosition = x;
|
||||
this.yPosition = y;
|
||||
this.size = newSize;
|
||||
this.size = newSize - 1;
|
||||
this.width = newSize;
|
||||
this.height = newSize;
|
||||
this.iconAreaHeight = newSize - TEXT_BUTTON_HEIGHT;
|
||||
|
||||
Reference in new issue
Block a user