mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-26 18:39:11 +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.remove("id");
|
||||||
map.put("material", itemStack.getType().name().toLowerCase(Locale.ENGLISH));
|
map.put("material", itemStack.getType().name().toLowerCase(Locale.ENGLISH));
|
||||||
map.put("amount", itemStack.getAmount());
|
map.put("amount", itemStack.getAmount());
|
||||||
Object tag = map.remove("tags");
|
Object tag = map.remove("tag");
|
||||||
if (tag != null) {
|
if (tag != null) {
|
||||||
map.put("nbt", tag);
|
map.put("nbt", tag);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user