Bugfix
This commit is contained in:
parent
375750fca6
commit
537a428d2c
@ -6,7 +6,7 @@ minecraft_version=1.21.1
|
||||
yarn_mappings=1.21.1+build.3
|
||||
loader_version=0.16.2
|
||||
# Mod Properties
|
||||
mod_version=1.4.8
|
||||
mod_version=1.4.9
|
||||
maven_group=systems.brn
|
||||
archives_base_name=servershop
|
||||
# Dependencies
|
||||
|
@ -88,7 +88,7 @@ public class PriceStorage {
|
||||
for (NbtElement element : nbtList) {
|
||||
if (element instanceof NbtCompound nbt) {
|
||||
ItemPriceRecord itemPriceRecord = ItemPriceRecord.fromNbt(nbt, wrapperLookup);
|
||||
if (itemPriceRecord.stack() != null && !hasPrices(itemPriceRecord.stack())) {
|
||||
if (itemPriceRecord != null && itemPriceRecord.stack() != null && !hasPrices(itemPriceRecord.stack())) {
|
||||
prices.put(itemPriceRecord.stack(), itemPriceRecord);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user