Structure at (-449.9, 25.6, -695.9) has no owner
My console was getting spammed with this message and players complained about lag.

[AntiNoobRaid] Structure at (-449.9, 25.6, -695.9) has no owner!​

I use raidable bases plugin so those bases have no owner.

Is there a way to get the plugin to exclude structures with no owner?

Otherwise I don't believe I can use it.

I commented out the following section, but hopefully, that doesn't cause any issues.
            //if (ownership.Count == 0)
            //{
                //Should this even happen?
            //    PrintWarning(lang.GetMessage("struct_noowner", this, null), ent.transform.position);
            //    return ent.OwnerID;
            //}​

If you do that you will get errors in your console

but you can do this
if (ownership.Count == 0)
{
//Should this even happen?
// PrintWarning(lang.GetMessage("struct_noowner", this, null), ent.transform.position);
return ent.OwnerID;
}

This worked for me

bjarkeh

If you do that you will get errors in your console

but you can do this
if (ownership.Count == 0)
{
//Should this even happen?
// PrintWarning(lang.GetMessage("struct_noowner", this, null), ent.transform.position);
return ent.OwnerID;
}

This worked for me

Thanks! I'll give it a try.

But your server seems to take a bit of preformence hit when the plugin does the check :/

Merged post

@Slydelix Is it possible that this can be fixed?

Mabye something like, if no entry owner the plugin will ignore if?