Fix PickBlock 'ghost item' bug when picking with a item selected.
This commit is contained in:
parent
2a8a917fdd
commit
de43520870
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ public class ForgeHooks
|
|||
}
|
||||
|
||||
player.inventory.setInventorySlotContents(slot, result);
|
||||
player.inventory.currentItem = slot;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue