Skip to content

Commit

Permalink
Untested bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeGit committed Sep 24, 2024
1 parent e457bc0 commit b6ad7ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class SchematicannonInventoryMixin {

@Inject(method = "isItemValid", at = @At("RETURN"), cancellable = true)
public void isItemValid(int slot, ItemVariant stack, long amount, CallbackInfoReturnable<Boolean> cir) {
public void isItemValid(int slot, ItemVariant stack, int count, CallbackInfoReturnable<Boolean> cir) {
if (slot == 0) {
cir.setReturnValue(
PatternSchematicsRegistry.PATTERN_SCHEMATIC.get() == stack.getItem()
Expand Down

0 comments on commit b6ad7ab

Please sign in to comment.