From a038de71face90f7bb6fa53a8542e0fd95051da5 Mon Sep 17 00:00:00 2001 From: JustTal Date: Wed, 20 Jul 2022 12:45:29 -0500 Subject: [PATCH] player/player.go: Remove problematic call to ReleaseItem on held slot update. --- server/session/player.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/session/player.go b/server/session/player.go index c86933d05..f1d22e262 100644 --- a/server/session/player.go +++ b/server/session/player.go @@ -598,8 +598,6 @@ func (s *Session) UpdateHeldSlot(slot int, expected item.Stack) error { // Old slot was the same as new slot, so don't do anything. return nil } - // The user swapped changed held slots so stop using item right away. - s.c.ReleaseItem() clientSideItem := expected actual, _ := s.inv.Item(slot)