Building Limits no longer working

Global limits are working fine but building limits are not counting the entities placed at all, it just reports back as if it were the first entity placed of any item that is limited in the config.

Message in game, reduces global limit but building limit is unchanged

Record a video please

Dropbox video link

I'm 95% certain it broke over the last forced wipe as I had added some code to allow items configured as -1 to be banned completly which was working fine before the wipe. I've tried going back to the stock release and I get the same issue. I'm pretty sure its something in the line "var entities = player.GetBuildingPrivilege()?.GetBuilding()?.decayEntities;" that isn't returning the expected result but I've reaced the limits of my capability.

-deleted-

Merged post

Can you actually place over limit?

It stops you at the global limit but not at the building limit as its nots tracking placement at all per building.

That can happen with furnaces because they are not part of building

The same is happening with ceiling lights, searchlights and spinklers.

I'll get a video with multiple items configured with low building limits.

Nevermind, just dug back and relalised this was highlighted 7 months ago, decayEntities doesn't contain any of the IO items it seems.

What winds me up (not with your plugin, but the person who started re-selling a tailored version of this plugin) is that someone has found a fix already and they keep it to themselves. If you don't already know about a version of this been marketted let me know how I can contact you to pass on the details.

Merged post

Just realised I updated my last message rather than creating a reply so you might not be notified of a new message.

This appears to still be an issue.