Skip to content

Commit

Permalink
fix a couple couldBeValid(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
kstvr32 committed Sep 22, 2024
1 parent 1676244 commit af041a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ public boolean check(T t, World world, int x, int y, int z) {

@Override
public boolean couldBeValid(T t, World world, int x, int y, int z, ItemStack trigger) {
return element.check(t, world, x, y, z);
return element.couldBeValid(t, world, x, y, z, trigger);
}

@Override
Expand Down Expand Up @@ -1772,7 +1772,7 @@ public boolean check(T t, World world, int x, int y, int z) {

@Override
public boolean couldBeValid(T t, World world, int x, int y, int z, ItemStack trigger) {
return element.check(t, world, x, y, z);
return element.couldBeValid(t, world, x, y, z, trigger);
}

@Override
Expand Down

0 comments on commit af041a3

Please sign in to comment.