mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-23 11:42:31 +01:00
Fix stale held item appearing when switching worlds (#910)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
This commit is contained in:
1 parent
2f443fe333
commit
a14a4542c9
3 files changed
+22
No files matched your search
@@ -930,6 +930,14 @@ void ItemInHandRenderer::tick()
|
||||
|
||||
}
|
||||
|
||||
void ItemInHandRenderer::reset()
|
||||
{
|
||||
selectedItem = nullptr;
|
||||
lastSlot = -1;
|
||||
height = 0.0f;
|
||||
oHeight = 0.0f;
|
||||
}
|
||||
|
||||
void ItemInHandRenderer::itemPlaced()
|
||||
{
|
||||
height = 0;
|
||||
|
||||
Reference in new issue
Block a user