#Modifying previous item stack on equipment changes

2 messages · Page 1 of 1 (latest)

reef jacinth
#

In a ServerEntityEvents.EQUIPMENT_CHANGE event, the previous stack is a copy of the actual item stack, so modifying it won’t modify the actual stack that was unequipped. Is there a way to listen to equipment changes (at least on players) and modify the previous item stack?

#

1.20.1 BTW because they requested it.