Skip to content

Commit c560653

Browse files
committed
Fix static plans never successfully deserialising
1 parent 624b69e commit c560653

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/cyclops/integratedterminals/api/terminalstorage/crafting/TerminalCraftingPlanStatic.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ public static <I> TerminalCraftingPlanStatic<I> deserialize(CompoundTag tag,
323323
if (!tag.contains("craftingQuantity", Tag.TAG_LONG)) {
324324
throw new IllegalArgumentException("Could not find a craftingQuantity entry in the given tag");
325325
}
326-
if (!tag.contains("storageIngredients", Tag.TAG_LIST)) {
327-
throw new IllegalArgumentException("Could not find a storageIngredients entry in the given tag");
326+
if (!tag.contains("bufferedIngredients", Tag.TAG_LIST)) {
327+
throw new IllegalArgumentException("Could not find a bufferedIngredients entry in the given tag");
328328
}
329329
if (!tag.contains("lastMissingIngredients", Tag.TAG_LIST)) {
330330
throw new IllegalArgumentException("Could not find a lastMissingIngredients entry in the given tag");

0 commit comments

Comments
 (0)