Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit 3ca9149

Browse files
committed
read correct index
1 parent f08bd29 commit 3ca9149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/lol/hyper/lecterncrashfix/wrapper/WrapperPlayClientWindowClick.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void setClickedItem(ItemStack value) {
135135
}
136136

137137
public InventoryClickType getShift() {
138-
return handle.getEnumModifier(InventoryClickType.class, 5).read(0);
138+
return handle.getEnumModifier(InventoryClickType.class, 4).read(0);
139139
}
140140

141141
public void setShift(InventoryClickType value) {

0 commit comments

Comments
 (0)