-
-
Save rubenwardy/bf4b27cd14ba2f57de5a2e4432becf1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local stack = ItemStack("default:stone") | |
stack:set_metadata("hello!") | |
stack:get_meta():set_string("foo", "bar") | |
stack:get_meta():set_string("description", "Hello everyone!") | |
print(stack:to_table()) | |
print(dump(ItemStack(stack:to_table()):to_table())) | |
error("") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment