2.57.0 Fix nbt issue

Took 3 minutes
This commit is contained in:
Kiran Hart 2022-03-12 22:21:14 -05:00
parent cba7005dbc
commit 06e33f42ed
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>ca.tweetzy</groupId> <groupId>ca.tweetzy</groupId>
<artifactId>auctionhouse</artifactId> <artifactId>auctionhouse</artifactId>
<version>2.56.1</version> <version>2.57.0</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -227,7 +227,7 @@
<dependency> <dependency>
<groupId>ca.tweetzy</groupId> <groupId>ca.tweetzy</groupId>
<artifactId>tweetycore</artifactId> <artifactId>tweetycore</artifactId>
<version>3.0.4</version> <version>3.1.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mineacademy.plugin</groupId> <groupId>org.mineacademy.plugin</groupId>

View File

@ -16,6 +16,7 @@ import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta; import org.bukkit.inventory.meta.ItemMeta;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.UUID; import java.util.UUID;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@ -178,7 +179,6 @@ public class AuctionedItem {
meta.setLore(lore); meta.setLore(lore);
itemStack.setItemMeta(meta); itemStack.setItemMeta(meta);
itemStack = NBTEditor.set(itemStack, this.id.toString(), "AuctionItemKey");
return itemStack; return itemStack;
} }
} }