Skip to content

Commit

Permalink
Update handler.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Erkam246 committed Mar 24, 2024
1 parent bd31591 commit ea2e2fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/item/inventory/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type Handler interface {
// HandleDrop handles the dropping of an item.Stack in a slot out of the inventory.
HandleDrop(ctx *event.Context, slot int, it item.Stack)
// HandleDestroy handles the destroying of an item.Stack in a creative inventory.
// slot will return -1 when it comes from the cursor inventory otherwise the correct inventory slot.
HandleDestroy(ctx *event.Context, slot int, it item.Stack)
}

Expand Down

0 comments on commit ea2e2fd

Please sign in to comment.