Fix template path in TemplateManager.java

This commit is contained in:
Aether 2024-10-17 19:35:53 -04:00
parent b272e38556
commit 4e43f1ea65
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public class TemplateManager
try
{
// inputstream = MinecraftServer.class.getResourceAsStream("/assets/" + s + "/structures/" + s1 + ".nbt");
inputstream = ServerAssets.getAssetStream("/assets/" + s + "/structures/" + s1 + ".nbt");
inputstream = ServerAssets.getAssetStream("/assets/" + s + "/server/structures/" + s1 + ".nbt");
this.readTemplateFromStream(s1, inputstream);
return true;
}