Remove useless local

This commit is contained in:
riking 2014-06-03 18:26:08 -07:00
parent 46c63ed841
commit db5e77d28f

View File

@ -703,8 +703,7 @@ public class PacketsManager {
if (packets == null) { if (packets == null) {
packets = new PacketContainer[] { event.getPacket() }; packets = new PacketContainer[] { event.getPacket() };
} }
for (PacketContainer packet1 : packets) { for (PacketContainer packet : packets) {
PacketContainer packet = packet1;
if (packet.equals(event.getPacket())) { if (packet.equals(event.getPacket())) {
packet = packet.deepClone(); packet = packet.deepClone();
} }