aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ItemInHandRenderer.h
diff options
context:
space:
mode:
authorAyush Thoren <ayushthoren@gmail.com>2026-03-08 12:12:49 -0700
committerGitHub <noreply@github.com>2026-03-09 03:12:49 +0800
commita14a4542c9a1d475c5bbb3f9ff6bf80be43e680a (patch)
tree88049674e24bad99ae8bcfe3e158c3316fe4bf49 /Minecraft.Client/ItemInHandRenderer.h
parent2f443fe333000595319e23c6e78b3d00d7f91f40 (diff)
Fix stale held item appearing when switching worlds (#910)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
Diffstat (limited to 'Minecraft.Client/ItemInHandRenderer.h')
-rw-r--r--Minecraft.Client/ItemInHandRenderer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Minecraft.Client/ItemInHandRenderer.h b/Minecraft.Client/ItemInHandRenderer.h
index b5d840a2..0c0ac307 100644
--- a/Minecraft.Client/ItemInHandRenderer.h
+++ b/Minecraft.Client/ItemInHandRenderer.h
@@ -41,6 +41,7 @@ private:
int lastSlot;
public:
void tick();
+ void reset();
void itemPlaced();
void itemUsed();
};