9
0
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:
XiaoMoMi
2024-09-01 21:35:08 +08:00
parent b149e08ba1
commit c0bb6154da

View File

@@ -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);
}