mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix PickBlock 'ghost item' bug when picking with a item selected.
This commit is contained in:
1 parent
2a8a917fdd
commit
de43520870
1 file changed
+1
@@ -281,6 +281,7 @@ public class ForgeHooks
|
||||
}
|
||||
|
||||
player.inventory.setInventorySlotContents(slot, result);
|
||||
player.inventory.currentItem = slot;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user