public boolean equals(Object loc) {
        if (!(loc instanceof SerializableLocation))
            return false;
        SerializableLocation compare = (SerializableLocation) loc;
        if (x == compare.x && y == compare.y && z == compare.z && yaw == compare.yaw && pitch == compare.pitch &&
                worldName.equalsIgnoreCase(compare.worldName))
            return true;
        return false;
    }