Skip to content

Commit 65184bb

Browse files
committed
🐛 Fix hints for use items
1 parent 6d231f4 commit 65184bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/mrcrayfish/controllable/client/overlay/ActionHintOverlay.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ else if(mc.screen == null)
196196
}
197197
}
198198

199-
ItemStack currentItem = mc.player.containerMenu.getCarried(); //TODO test
199+
ItemStack currentItem = mc.player.getMainHandItem();
200200
if(currentItem.getUseAnimation() != UseAnim.NONE)
201201
{
202202
switch(currentItem.getUseAnimation())

0 commit comments

Comments
 (0)