Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 00:22:51 +01:00
Fix click window packet
Dieser Commit ist enthalten in:
Ursprung
e8cb0f561e
Commit
051df7401e
@ -496,10 +496,10 @@ public class ProtocolSnapshotTo1_12_2 extends Protocol {
|
|||||||
|
|
||||||
registerIncoming(State.PLAY, 0x05, 0x06);
|
registerIncoming(State.PLAY, 0x05, 0x06);
|
||||||
registerIncoming(State.PLAY, 0x06, 0x07);
|
registerIncoming(State.PLAY, 0x06, 0x07);
|
||||||
registerIncoming(State.PLAY, 0x07, 0x08);
|
// InventoryPackets 0x07, 0x08
|
||||||
registerIncoming(State.PLAY, 0x08, 0x09);
|
registerIncoming(State.PLAY, 0x08, 0x09);
|
||||||
|
|
||||||
// InventoryPackets 0x09 -> 0x0A
|
// InventoryPackets 0x09 -> 0x0A
|
||||||
|
|
||||||
// New 0x0A - Edit book -> Plugin Message
|
// New 0x0A - Edit book -> Plugin Message
|
||||||
registerIncoming(State.PLAY, 0x09, 0x0B, new PacketRemapper() {
|
registerIncoming(State.PLAY, 0x09, 0x0B, new PacketRemapper() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -182,7 +182,7 @@ public class InventoryPackets {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Click window packet
|
// Click window packet
|
||||||
protocol.registerIncoming(State.PLAY, 0x07, 0x07, new PacketRemapper() {
|
protocol.registerIncoming(State.PLAY, 0x07, 0x08, new PacketRemapper() {
|
||||||
@Override
|
@Override
|
||||||
public void registerMap() {
|
public void registerMap() {
|
||||||
map(Type.UNSIGNED_BYTE); // 0 - Window ID
|
map(Type.UNSIGNED_BYTE); // 0 - Window ID
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren