Skip to content

Commit

Permalink
fix wrong recipes in circuit assemblers for preconfigured storage bus…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubou19 authored Feb 23, 2025
1 parent 203e5fe commit 7ba462f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/com/dreammaster/scripts/ScriptAE2FC.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,9 @@ public void loadRecipes() {
.addTo(assemblerRecipes);

// preconfigurated priorities for storage buses
ItemStack preconfiguredStorageBus = AE2FC_FLUID_STORAGE_BUS.copy();

for (int i = 1; i < 25; i++) {
ItemStack preconfiguredStorageBus = AE2FC_FLUID_STORAGE_BUS.copy();
NBTTagCompound tag = new NBTTagCompound();
tag.setInteger("priority", i);
preconfiguredStorageBus.setTagCompound(tag);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ public void loadRecipes() {
final ItemStack storageBus = getModItem(AppliedEnergistics2.ID, "item.ItemMultiPart", 1, 220, missing);

// preconfigurated priorities for storage buses
ItemStack preconfiguredStorageBus = storageBus.copy();

for (int i = 1; i < 25; i++) {
ItemStack preconfiguredStorageBus = storageBus.copy();
NBTTagCompound tag = new NBTTagCompound();
tag.setInteger("priority", i);
preconfiguredStorageBus.setTagCompound(tag);
Expand Down

0 comments on commit 7ba462f

Please sign in to comment.