More fixes
This commit is contained in:
@@ -20,8 +20,6 @@ import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
;
|
||||
|
||||
public abstract class CraftingStep implements ICraftingStep {
|
||||
public static final String NBT_CRAFTING_STEP_TYPE = "CraftingStepType";
|
||||
private static final String NBT_SATISFIED = "Satisfied_%d";
|
||||
|
||||
@@ -333,13 +333,13 @@ public class CraftingTask implements ICraftingTask {
|
||||
public NBTTagCompound writeToNBT(NBTTagCompound tag) {
|
||||
writeDefaultsToNBT(tag);
|
||||
|
||||
NBTTagList processablesList = new NBTTagList();
|
||||
NBTTagList stepsList = new NBTTagList();
|
||||
|
||||
for (ICraftingStep processable : steps) {
|
||||
processablesList.appendTag(processable.writeToNBT(new NBTTagCompound()));
|
||||
for (ICraftingStep step : steps) {
|
||||
stepsList.appendTag(step.writeToNBT(new NBTTagCompound()));
|
||||
}
|
||||
|
||||
tag.setTag(NBT_STEPS, processablesList);
|
||||
tag.setTag(NBT_STEPS, stepsList);
|
||||
|
||||
NBTTagList toInsertItemsList = new NBTTagList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user