Skip to content

Commit 278d4ee

Browse files
authored
Weaken CrafterComponent#takeItemInputs access from private to protected, remove outdated doc (#1153)
1 parent 7048dbc commit 278d4ee

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/aztech/modern_industrialization/machines/components/CrafterComponent.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,7 @@ public void readNbt(CompoundTag tag, HolderLookup.Provider registries, boolean i
431431
this.maxEfficiencyTicks = tag.getInt("maxEfficiencyTicks");
432432
}
433433

434-
/**
435-
* cachedItemCounts must be correct when this function is called, and are
436-
* guaranteed to be correct after this call
437-
*/
438-
private boolean takeItemInputs(MachineRecipe recipe, boolean simulate) {
434+
protected boolean takeItemInputs(MachineRecipe recipe, boolean simulate) {
439435
List<ConfigurableItemStack> baseList = inventory.getItemInputs();
440436
List<ConfigurableItemStack> stacks = simulate ? ConfigurableItemStack.copyList(baseList) : baseList;
441437

0 commit comments

Comments
 (0)