Destroy 1.15 entities

This commit is contained in:
KennyTV 2019-11-25 20:40:03 +01:00
parent 21cad97f3f
commit 48feee2bfc
2 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,6 @@ public class Protocol1_15To1_14_4 extends Protocol {
registerOutgoing(State.PLAY, 0x34, 0x35); registerOutgoing(State.PLAY, 0x34, 0x35);
registerOutgoing(State.PLAY, 0x35, 0x36); registerOutgoing(State.PLAY, 0x35, 0x36);
registerOutgoing(State.PLAY, 0x36, 0x37); registerOutgoing(State.PLAY, 0x36, 0x37);
registerOutgoing(State.PLAY, 0x37, 0x38);
registerOutgoing(State.PLAY, 0x38, 0x39); registerOutgoing(State.PLAY, 0x38, 0x39);
registerOutgoing(State.PLAY, 0x39, 0x3A); registerOutgoing(State.PLAY, 0x39, 0x3A);
registerOutgoing(State.PLAY, 0x3B, 0x3C); registerOutgoing(State.PLAY, 0x3B, 0x3C);

View File

@ -115,6 +115,8 @@ public class EntityPackets {
// Metadata packet // Metadata packet
metadataRewriter.registerMetadataRewriter(0x43, 0x44, Types1_14.METADATA_LIST); metadataRewriter.registerMetadataRewriter(0x43, 0x44, Types1_14.METADATA_LIST);
metadataRewriter.registerEntityDestroy(0x37, 0x38);
} }
public static int getNewEntityId(int oldId) { public static int getNewEntityId(int oldId) {