From d35196e04c3c48a472a9aff4870545fe394ddbe1 Mon Sep 17 00:00:00 2001 From: UselessBullets <80850784+UselessBullets@users.noreply.github.com> Date: Sat, 17 Feb 2024 20:39:47 -0600 Subject: [PATCH] Update DirectoryManager.java --- src/main/java/turniplabs/halplibe/util/DirectoryManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/turniplabs/halplibe/util/DirectoryManager.java b/src/main/java/turniplabs/halplibe/util/DirectoryManager.java index 4280f59..4a4a55a 100644 --- a/src/main/java/turniplabs/halplibe/util/DirectoryManager.java +++ b/src/main/java/turniplabs/halplibe/util/DirectoryManager.java @@ -105,9 +105,6 @@ public static String getCaveMusicDirectory(String modID){ } public static String getStreamingDirectory(String modID){ resourceDirectoryMap.putIfAbsent(modID, new HashMap<>()); - if (fl.getModContainer(modID).isPresent() && fl.getModContainer(modID).get().getMetadata().containsCustomValue(STREAMING)){ - resourceDirectoryMap.get(modID).put(STREAMING, fl.getModContainer(modID).get().getMetadata().getCustomValue(STREAMING).getAsString()); - } return resourceDirectoryMap.get(modID).getOrDefault(STREAMING, "/assets/" + modID + "/streaming/"); } public static String getArmorDirectory(String modID){