Skip to content

Commit

Permalink
don't overwrite shears used for harvesting leaves (fixes #153)
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Jul 12, 2024
1 parent b7f275d commit a1d7d1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class HarvesterMovementBehaviourMixin {
@ModifyVariable(
require = 0,
method = "visitNewPosition(Lcom/simibubi/create/content/contraptions/behaviour/MovementContext;Lnet/minecraft/core/BlockPos;)V",
at = @At("STORE")
at = @At(value = "STORE", ordinal = 0)
)
private ItemStack overwriteDefaultItem(ItemStack stack) {
var tool = sliceanddice$TOOL.get();
Expand Down

0 comments on commit a1d7d1f

Please sign in to comment.