diff options
| author | viciscat <51047087+viciscat@users.noreply.github.com> | 2024-07-18 23:16:18 +0200 |
|---|---|---|
| committer | viciscat <51047087+viciscat@users.noreply.github.com> | 2024-12-12 18:19:33 +0100 |
| commit | 195da65186d5684979c97c3aad150cf2ea86f363 (patch) | |
| tree | 46576302564d8cedffd7af92e87053533b032d11 /src/main/java | |
| parent | e3bb99cec4c1ce37f83946e3a7a7ddd4cbba0dbd (diff) | |
| download | Skyblocker-195da65186d5684979c97c3aad150cf2ea86f363.tar.gz Skyblocker-195da65186d5684979c97c3aad150cf2ea86f363.tar.bz2 Skyblocker-195da65186d5684979c97c3aad150cf2ea86f363.zip | |
widget selection tweaks
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/DungeonPlayerWidget.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/DungeonPlayerWidget.java b/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/DungeonPlayerWidget.java index d5274399..b655cf66 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/DungeonPlayerWidget.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/DungeonPlayerWidget.java @@ -40,6 +40,7 @@ public class DungeonPlayerWidget extends TabHudWidget { ICOS.put("Archer", Ico.BOW); ICOS.put("Healer", Ico.POTION); + MSGS.add("???"); MSGS.add("PRESS A TO JOIN"); MSGS.add("Invite a friend!"); MSGS.add("But nobody came."); @@ -59,7 +60,7 @@ public class DungeonPlayerWidget extends TabHudWidget { int start = 1 + (player - 1) * 4; if (PlayerListMgr.strAt(start) == null) { - int idx = player - 2; + int idx = player - 1; IcoTextComponent noplayer = new IcoTextComponent(Ico.SIGN, Text.literal(MSGS.get(idx)).formatted(Formatting.GRAY)); this.addComponent(noplayer); |
