Skip to content

Commit

Permalink
Fix empty structure generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Jun 23, 2024
1 parent 72b43b0 commit a0ac59e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public class EmptyTestStructureGenerator implements DataProvider {
private final PackOutput.PathProvider pathProvider;

public EmptyTestStructureGenerator(PackOutput output) {
this.pathProvider = output.createPathProvider(PackOutput.Target.DATA_PACK, "structures");
this.pathProvider = output.createPathProvider(PackOutput.Target.DATA_PACK, "structure");
}

@Override
public CompletableFuture<?> run(CachedOutput output) {
String structureIn;
try (var in = getClass().getResourceAsStream("/data/moderndynamics/structures/empty.snbt")) {
try (var in = getClass().getResourceAsStream("/data/moderndynamics/structure/empty.snbt")) {
structureIn = new String(in.readAllBytes(), StandardCharsets.UTF_8);
} catch (IOException e) {
throw new UncheckedIOException(e);
Expand Down

0 comments on commit a0ac59e

Please sign in to comment.