Fix template path in TemplateManager.java
This commit is contained in:
parent
b272e38556
commit
4e43f1ea65
|
@ -117,7 +117,7 @@ public class TemplateManager
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// inputstream = MinecraftServer.class.getResourceAsStream("/assets/" + s + "/structures/" + s1 + ".nbt");
|
// 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);
|
this.readTemplateFromStream(s1, inputstream);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue