Skip to content

Commit

Permalink
Fix ghost item on Nova creative item pick
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtStudioCode committed Sep 26, 2024
1 parent fb62b98 commit ef7f400
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ internal object BlockInteracting : Listener {

val novaCloneStack = novaBlockState.block.pickBlockCreative(targetPos, novaBlockState, ctx) ?: ItemStack.empty()
event.cursor = novaCloneStack
player.updateInventory()
}

@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
Expand Down

0 comments on commit ef7f400

Please sign in to comment.