Skip to content

Commit 35676e9

Browse files
committed
lint
1 parent 5e1f33c commit 35676e9

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

src/main/java/com/azuredoom/levelingcore/ui/hud/XPBarHud.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,10 @@ public static void updateHud(@NonNullDecl PlayerRef playerRef) {
8686
public static void removeHud(@NonNullDecl PlayerRef playerRef) {
8787
hudMap.remove(playerRef);
8888
}
89+
90+
// TODO: Uncomment this with Update 5
91+
// @Override
92+
// public @NotNull String getKey() {
93+
// return "levelingcore_xpbar";
94+
// }
8995
}

src/main/java/com/azuredoom/levelingcore/utils/HudPlayerReady.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ public static void ready(PlayerReadyEvent event, Config<GUIConfig> config) {
3232
if (playerRef == null)
3333
return;
3434
var xpHud = new XPBarHud(playerRef, levelService1, config);
35-
// TODO: Update 5 removes the need for MultipleHud/AutoMultiHud and setCustomHud will be addCustomHud instead
35+
// TODO: Update 5 removes the need for MultipleHud/AutoMultiHud and setCustomHud -> addCustomHud with keyed
36+
// huds
37+
// instead
38+
// player.getHudManager().addCustomHud(playerRef, xpHud);
3639
if (PluginManager.get().getPlugin(new PluginIdentifier("Buuz135", "MultipleHUD")) != null) {
3740
MultipleHudCompat.showHud(player, playerRef, xpHud);
3841
} else {

0 commit comments

Comments
 (0)