Fix converting dirt to mud consumes whole bottle (not just emptying) Closes #10027

This commit is contained in:
LexManos committed 2024-06-21 13:34:37 -07:00
1 parent 8e0845d032
commit 41fd15fc57
1 file changed
+1 -1
@@ -465,7 +465,7 @@ public final class ForgeHooks {
level.captureBlockSnapshots = false;
if (ret.consumesAction()) {
var postUse = itemstack.copy();
var postUse = player.getItemInHand(context.getHand());
var blockSnapshots = new ArrayList<>(level.capturedBlockSnapshots);
level.capturedBlockSnapshots.clear();