Skip to content

Commit 03b2bf5

Browse files
🩹 Use public API in example
1 parent 01b38f7 commit 03b2bf5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎examples/read_and_display.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
with here.joinpath("../samples/waterlogged.mcstructure").open("rb") as f:
1212
struct = Structure.load(f)
1313
print("Waterlogged Stairs")
14-
print(struct._palette)
14+
print(struct.palette)
1515

1616
with here.joinpath("../samples/cmdblock.mcstructure").open("rb") as f:
1717
struct = Structure.load(f)
1818
print("Command Block")
19-
print(struct._palette)
19+
print(struct.palette)

0 commit comments

Comments
 (0)