diff options
| author | Clicks <58398364+CuzImClicks@users.noreply.github.com> | 2022-04-29 11:24:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-29 11:24:43 +0200 |
| commit | 48253eddf00cf5d94ecc2eb6b63e7c490b3145be (patch) | |
| tree | b74b3674eb12a168e3e93da1f3ff0119116c3411 /src/main/java/me/Danker/gui/buttons | |
| parent | 5f6ce80319b21d53abbec15886f4e2fbd765f748 (diff) | |
| parent | 36a30bd1a2097b6ab45c27bd248cbea4e292499f (diff) | |
| download | SkyblockMod-48253eddf00cf5d94ecc2eb6b63e7c490b3145be.tar.gz SkyblockMod-48253eddf00cf5d94ecc2eb6b63e7c490b3145be.tar.bz2 SkyblockMod-48253eddf00cf5d94ecc2eb6b63e7c490b3145be.zip | |
Merge branch 'development' into development
Diffstat (limited to 'src/main/java/me/Danker/gui/buttons')
| -rw-r--r-- | src/main/java/me/Danker/gui/buttons/LocationButton.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/gui/buttons/LocationButton.java b/src/main/java/me/Danker/gui/buttons/LocationButton.java index 8da1ab9..533bf83 100644 --- a/src/main/java/me/Danker/gui/buttons/LocationButton.java +++ b/src/main/java/me/Danker/gui/buttons/LocationButton.java @@ -44,6 +44,10 @@ public class LocationButton extends GuiButton { this.height = (int) ((splitText.length * 9 + 3) * scale); this.width = (int) ((this.longestText + offset + 3) * scale); } + + public LocationButton(int x, int y, double scale, String text) { + this(x, y, scale, text, null, null); + } @Override public void drawButton(Minecraft mc, int mouseX, int mouseY) { |
