Skip to content

Commit

Permalink
Merge branch '1.19.x' into 1.20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Jul 26, 2024
2 parents 67531c1 + 10df8a6 commit 31f42cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[ISSUES]: https://github.com/PssbleTrngle/SliceAndDice/issues

<!-- modrinth_exclude.start -->
# Create Slice & Dice
# Create Slice & Dice <img src="https://raw.githubusercontent.com/PssbleTrngle/SliceAndDice/1.19.x/src/main/resources/assets/sliceanddice/icon.png" align="right" height="128" />

[Looking for the Forge version?](https://github.com/PssbleTrngle/SliceAndDice)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import net.minecraft.world.item.ItemStack
import net.minecraft.world.item.Items
import net.minecraft.world.item.crafting.Recipe
import net.minecraft.world.level.ItemLike
import vectorwing.farmersdelight.common.registry.ModItems
import java.util.function.BiConsumer

interface IRecipeInjector {
Expand All @@ -34,7 +33,7 @@ object ModCompat : IRecipeInjector {

val harvesterTool
get(): ItemStack? {
return ifLoaded(FARMERS_DELIGHT) { ModItems.IRON_KNIFE.get() }?.let(::ItemStack) ?: ItemStack.EMPTY
return ifLoaded(FARMERS_DELIGHT) { ItemsRegistry.IRON_KNIFE.get() }?.let(::ItemStack) ?: ItemStack.EMPTY
}

val exampleTool
Expand Down

0 comments on commit 31f42cd

Please sign in to comment.