3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-27 00:22:53 +01:00
Dieser Commit ist enthalten in:
Gerrygames 2019-01-22 21:49:17 +01:00
Ursprung 8519ad8cf1
Commit 22a486752b

Datei anzeigen

@ -203,13 +203,9 @@ public class PlayerPacket1_13 extends Rewriter<Protocol1_12_2To1_13> {
if (channel.equals("MC|BSign") || channel.equals("MC|BEdit")) { if (channel.equals("MC|BSign") || channel.equals("MC|BEdit")) {
wrapper.setId(0x0B); wrapper.setId(0x0B);
Item book = wrapper.read(Type.ITEM); Item book = wrapper.read(Type.ITEM);
System.out.println(book);
BlockItemPackets1_13.toServer(book); BlockItemPackets1_13.toServer(book);
System.out.println(book);
wrapper.write(Type.FLAT_ITEM, book); wrapper.write(Type.FLAT_ITEM, book);
boolean signing = channel.equals("MC|BSign"); boolean signing = channel.equals("MC|BSign");
System.out.println(channel);
System.out.println(signing);
wrapper.write(Type.BOOLEAN, signing); wrapper.write(Type.BOOLEAN, signing);
} else if (channel.equals("MC|ItemName")) { } else if (channel.equals("MC|ItemName")) {
wrapper.setId(0x1C); wrapper.setId(0x1C);