Unswap parameters to make sense

This commit is contained in:
PepperCode1 2023-05-12 11:00:54 -07:00
parent aa102dfabd
commit 0fa0bbaf5d

View File

@ -201,7 +201,7 @@ public class FilterItem extends Item implements MenuProvider {
return true; return true;
if (!(filter.getItem() instanceof FilterItem)) if (!(filter.getItem() instanceof FilterItem))
return testDirect(stack, filter, matchNBT); return testDirect(filter, stack, matchNBT);
boolean defaults = !filter.hasTag(); boolean defaults = !filter.hasTag();