aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/chrisoft/trashyaddon/modules/AcceptablePrices.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/chrisoft/trashyaddon/modules/AcceptablePrices.java')
-rw-r--r--src/main/java/org/chrisoft/trashyaddon/modules/AcceptablePrices.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/chrisoft/trashyaddon/modules/AcceptablePrices.java b/src/main/java/org/chrisoft/trashyaddon/modules/AcceptablePrices.java
index 4809640..624a47f 100644
--- a/src/main/java/org/chrisoft/trashyaddon/modules/AcceptablePrices.java
+++ b/src/main/java/org/chrisoft/trashyaddon/modules/AcceptablePrices.java
@@ -76,7 +76,7 @@ public class AcceptablePrices implements ICopyable<AcceptablePrices>, ISerializa
for (int i = 0; i < l.size(); ++i) {
NbtCompound a = l.getCompound(i);
String item_id = a.getString("Item");
- Item item = Registries.ITEM.get(new Identifier(item_id));
+ Item item = Registries.ITEM.get(Identifier.of(item_id));
int price = a.getInt("Price");
ret.put(item, price);
}