Clear meta

Post Reply
User avatar
Extex
Member
Posts: 190
Joined: Wed Mar 14, 2018 23:14
GitHub: Extex101
In-game: Extex

Clear meta

by Extex » Post

How would I clear all meta from an itemstack so it's as at was when it was crafted?
Player of PK, RIP. Creator of the light_tool and motorbike mods. Working on another mod which should be coming soon!

User avatar
Linuxdirk
Member
Posts: 2626
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Clear meta

by Linuxdirk » Post

You could try meta:from_table(nil).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest