mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix converting dirt to mud consumes whole bottle (not just emptying) Closes #10027
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user