mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-04 06:44:40 +01:00
Update PackagerBlockEntity.java
This commit is contained in:
parent
10be63ab1a
commit
862708f54b
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ public class PackagerBlockEntity extends SmartBlockEntity {
|
||||||
return;
|
return;
|
||||||
compound.put("QueuedPackages", NBTHelper.writeItemList(queuedExitingPackages, registries));
|
compound.put("QueuedPackages", NBTHelper.writeItemList(queuedExitingPackages, registries));
|
||||||
if (availableItems != null)
|
if (availableItems != null)
|
||||||
compound.put("LastSummary", CatnipCodecUtils.encode(InventorySummary.CODEC, availableItems).orElseThrow());
|
compound.put("LastSummary", CatnipCodecUtils.encode(InventorySummary.CODEC, registries, availableItems).orElseThrow());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue