Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetrain1 committed Nov 1, 2023
1 parent 91e57a4 commit 05f69d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Fabric Properties
# Get new versions at https://fabricmc.net/develop and https://lambdaurora.dev/tools/import_quilt.html
minecraft_version=23w43b
quilt_mappings=23w42a+build.4
quilt_mappings=23w43a+build.1
parchment_mappings=1.20.1:2023.09.03
loader_version=0.14.24

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import net.minecraft.advancements.AdvancementRequirements;
import net.minecraft.advancements.AdvancementRewards;
import net.minecraft.advancements.Criterion;
import net.minecraft.commands.CommandFunction;
import net.minecraft.commands.CacheableFunction;
import net.minecraft.resources.ResourceLocation;

public final class AdvancementAPI {
Expand All @@ -39,7 +39,7 @@ private AdvancementAPI() {}
*/
public static void setupRewards(Advancement advancement) {
if (advancement.rewards == AdvancementRewards.EMPTY) {
advancement.rewards = new AdvancementRewards(0, new ResourceLocation[0], new ResourceLocation[0], new CommandFunction.CacheableFunction((ResourceLocation) null));
advancement.rewards = new AdvancementRewards(0, new ResourceLocation[0], new ResourceLocation[0], new CacheableFunction(null));
}
}

Expand Down

0 comments on commit 05f69d9

Please sign in to comment.