Skip to content

Commit

Permalink
build: 1.21.2-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Oct 17, 2024
1 parent 8bbc7ff commit 9aebeb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx2G

# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.21.2-pre1
yarn_mappings=1.21.2-pre1+build.3
loader_version=0.16.5
minecraft_version=1.21.2-rc1
yarn_mappings=1.21.2-rc1+build.1
loader_version=0.16.7

# Mod Properties
mod_version = 0.2.0+beta.7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public abstract class MixinIngredient {
@Final
private RegistryEntryList<Item> entries;

@Shadow public abstract List<RegistryEntry<Item>> getMatchingStacks();
@Shadow public abstract List<RegistryEntry<Item>> getMatchingItems();

@Unique
private Set<RegistryEntry<Item>> matchingItems = null;
Expand All @@ -45,7 +45,7 @@ public boolean test(@Nullable ItemStack itemStack) {
Set<RegistryEntry<Item>> matchingItems = this.matchingItems;
boolean isEmptyMatch = this.isEmptyMatch;
if (matchingItems == null) {
matchingItems = this.matchingItems = new HashSet<>(this.getMatchingStacks());
matchingItems = this.matchingItems = new HashSet<>(this.getMatchingItems());
isEmptyMatch = this.isEmptyMatch = this.matchingItems.isEmpty();
}
if (itemStack.isEmpty()) {
Expand Down

0 comments on commit 9aebeb4

Please sign in to comment.