Skip to content

Commit

Permalink
Fix NbtReadFile
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Dec 11, 2024
1 parent 4d6bb48 commit 62216ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2379,8 +2379,7 @@ public static NbtCompound readNbtFromFile(File file)
return null;
}

// TODO (Fix the MaLiLib one)
return fi.dy.masa.litematica.util.NbtUtils.readNbtFromFile(file);
return NbtUtils.readNbtFromFile(file);
}

public static NbtCompound readNbtFromPath(Path path)
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/fi/dy/masa/litematica/util/NbtUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
import net.minecraft.util.math.Vec3i;

/**
* Please use malilib/nbt/NbtUtils
* Please use malilib/nbt/NbtUtils from now on
*/
@Deprecated(forRemoval = true)
public class NbtUtils
{
@Nullable
Expand Down

0 comments on commit 62216ef

Please sign in to comment.