Skip to content

Commit

Permalink
haha
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Watton committed Oct 21, 2020
1 parent 8025d72 commit d2fe201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Anvil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class Anvil {
public static async parse(levelPath: string): Promise<Anvil> {
const anvil = new Anvil(levelPath)

const levelData = new BinaryData(fs.readFileSync(levelPath))
const levelData = new BinaryData(fs.readFileSync(anvil.levelDatPath))
const regionCoords = await anvil.getRegions()
const levelDat = await anvil.parseLevelDat(levelData)

Expand Down

0 comments on commit d2fe201

Please sign in to comment.