#How can I check if an item is moved to the player's offhand?
1 messages · Page 1 of 1 (latest)
Skript Hub - Documentation
Called whenever a player swaps the items in their main- and offhand slots.
Works also when one or both of the slots are empty.
The event is called before the items are actually swapped,
so when you use the player's tool or player's offtool expressions,
they will return the values before the swap -
this enables you to cancel the event before anyt...
iirc the slot is 40
not sure tho
Maybe will work
what event will that be used in?
On inventory close and then check player’s offhand tool