Skip to content

Commit

Permalink
updated outdata texturepaths in Directory manager
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessBullets committed May 6, 2024
1 parent 2aea537 commit 3ac16d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/turniplabs/halplibe/util/DirectoryManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ public static String getDirectory(String key, String modID, String formattedDefa
return resourceDirectoryMap.get(modID).getOrDefault(key, String.format(formattedDefault, modID));
}
public static String getBlockTextureDirectory(String modID){
return getDirectory(BLOCK_TEXTURES, modID, "/assets/%s/block/");
return getDirectory(BLOCK_TEXTURES, modID, "/assets/%s/textures/block/");
}
public static String getItemTextureDirectory(String modID){
return getDirectory(ITEM_TEXTURES, modID, "/assets/%s/item/");
return getDirectory(ITEM_TEXTURES, modID, "/assets/%s/textures/item/");
}
public static String getParticleTextureDirectory(String modID){
return getDirectory(PARTICLE_TEXTURES, modID, "/assets/%s/particle/");
return getDirectory(PARTICLE_TEXTURES, modID, "/assets/%s/textures/particle/");
}
public static String getLanguageDirectory(String modID){
return getDirectory(LANGUAGE, modID, "/lang/%s/");
Expand All @@ -72,6 +72,6 @@ public static String getStreamingDirectory(String modID){
return getDirectory(STREAMING, modID, "/assets/%s/streaming/");
}
public static String getArmorDirectory(String modID){
return getDirectory(ARMOR, modID, "/assets/%s/armor/");
return getDirectory(ARMOR, modID, "/assets/%s/textures/armor/");
}
}

0 comments on commit 3ac16d2

Please sign in to comment.