ByteArrayOutputStream bytes = new ByteArrayOutputStream();
DataOutputStream data = new DataOutputStream(bytes);
data.writeByte(slot);
EnumColor color = colors.getCurrent();
data.writeByte(color == null ? 0 : color.ordinal() + 1);
PacketGuiReturn pkt = new PacketGuiReturn(pipe.getContainer(), bytes.toByteArray());
pkt.sendPacket();
} catch (IOException ex) {
}
}