Skip to content

Commit

Permalink
Merge branch 'master' of github.com:enjarai/trickster
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarWitch7 committed Nov 19, 2024
2 parents f1973d1 + ecea8bc commit 07535ac
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand han
}
}
} else {
if (hand == Hand.OFF_HAND) {
return TypedActionResult.pass(stack);
}

user.openHandledScreen(new NamedScreenHandlerFactory() {
@Override
public Text getDisplayName() {
Expand Down

0 comments on commit 07535ac

Please sign in to comment.