src/main/java/dev/lambdaurora/spruceui/hud/HudManager.java
public static void register(@NotNull Hud hud) {
        if (HUDS.containsKey(hud.getIdentifier()))
            throw new IllegalArgumentException("Cannot register the same HUD twice!");
        HUDS.put(hud.getIdentifier(), hud);
    }
/**
     * Registers a HUD.
     *
     * @param hud The HUD to register.
     */
Registers a HUD.
@param hud The HUD to register.
Registers a HUD . @param hud The HUD to register .
public static void register(@NotNull Hud hud) {
        if (HUDS.containsKey(hud.getIdentifier()))
            throw new IllegalArgumentException("Cannot register the same HUD twice!");
        HUDS.put(hud.getIdentifier(), hud);
    }
public static void register ( @ NotNull Hud hud ) { if ( HUDS . containsKey ( hud . getIdentifier ( ) ) ) throw new IllegalArgumentException ( "Cannot register the same HUD twice!" ) ; HUDS . put ( hud . getIdentifier ( ) , hud ) ; }
Registers a HUD.
Registers a HUD .