mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
Fixed import command not importing the right key
This commit is contained in:
@@ -86,7 +86,7 @@ public class ItemStackUtils {
|
||||
map.remove("id");
|
||||
map.put("material", itemStack.getType().name().toLowerCase(Locale.ENGLISH));
|
||||
map.put("amount", itemStack.getAmount());
|
||||
Object tag = map.remove("tags");
|
||||
Object tag = map.remove("tag");
|
||||
if (tag != null) {
|
||||
map.put("nbt", tag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user