Skip to content

Commit e467c7c

Browse files
Set correct data types in 1.8->1.9 CONTAINER_CLICK (ViaVersion#4460)
1 parent 0c01425 commit e467c7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/src/main/java/com/viaversion/viaversion/protocols/v1_8to1_9/rewriter/ItemPacketRewriter1_9.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ public void register() {
321321
w.write(Types.ITEM1_8, null);
322322
}).scheduleSend(Protocol1_8To1_9.class);
323323
// Finally reset to simulate throwing item
324-
wrapper.set(Types.BYTE, 0, (byte) 0); // Set button to 0
325-
wrapper.set(Types.BYTE, 1, (byte) 0); // Set mode to 0
324+
wrapper.set(Types.BYTE, 1, (byte) 0); // Set button to 0
325+
wrapper.set(Types.BYTE, 2, (byte) 0); // Set mode to 0
326326
wrapper.set(Types.SHORT, 0, (short) -999); // Set slot to -999
327327
}
328328
});

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
2-
projectVersion=5.3.2
2+
projectVersion=5.3.3-SNAPSHOT
33

44
# Smile emoji
55
mcVersions=1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9, 1.8.9

0 commit comments

Comments
 (0)