public void useItem(String who, int typ, int num)
    {
        int slot = getSlot(who);
        Packet packet = new Packet();
        packet.addHeader((byte)0x23, (byte)0x2F);
        packet.addInt(slot, 2, false);
        packet.addByte((byte)typ);
        packet.addByte((byte)num);
        writeRoomAll(packet);
    }