public static byte[] openUI(int type) {
            MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter(3);

            mplew.writeShort(SendPacketOpcode.OPEN_UI.getValue());
            mplew.write(type);


            return mplew.getPacket();
        }