Skip to content

Commit

Permalink
Update NBT.kt
Browse files Browse the repository at this point in the history
Bring back the block pos parse.
  • Loading branch information
EngineMachiner committed Jun 30, 2024
1 parent adb31b3 commit 8fe06c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/enginemachiner/harmony/NBT.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ object NBT {

}

//fun blockPos(stack: ItemStack): BlockPos { return blockPos( get(stack) ) }
fun blockPos(stack: ItemStack): BlockPos { val nbt = nbt(stack); return blockPos(nbt) }

private fun blockPos(nbt: NbtCompound): BlockPos {

Expand Down

0 comments on commit 8fe06c7

Please sign in to comment.