From 02324206e3ef0938def67e957bdee9b818da9b43 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 28 Sep 2013 17:03:33 +1000 Subject: [PATCH] Clean up packets a tad --- protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java | 4 ---- .../md_5/bungee/protocol/packet/Packet2CEntityProperties.java | 2 -- 2 files changed, 6 deletions(-) diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java b/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java index a443dbc5..87312772 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/Vanilla.java @@ -382,9 +382,5 @@ public class Vanilla implements Protocol { BYTE, FLOAT, FLOAT }; - opCodes[0xCB] = new OpCode[] - { - STRING - }; } } diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Packet2CEntityProperties.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Packet2CEntityProperties.java index 0f8a4ed8..a0bd50de 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/Packet2CEntityProperties.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/Packet2CEntityProperties.java @@ -1,8 +1,6 @@ package net.md_5.bungee.protocol.packet; import io.netty.buffer.ByteBuf; -import java.util.HashMap; -import java.util.Map; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString;