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