BentoBoxWorld / Limits

Limits blocks and entities on islands - for BentoBox
Eclipse Public License 2.0
8 stars 17 forks source link

WildStacker Stacked Spawner Support #92

Open NFRCG opened 3 years ago

NFRCG commented 3 years ago

Is your feature request related to a problem? Please describe. The Limits addon will fail to recognize the Stacked Spawner block from WildStacker. It will count the placed spawners, but when a user recounts their limits (with /is limits recount), the addon will think there is only 1 spawner since it is one spawner block that is equivalent to many spawner blocks.

Describe the solution you'd like Support these Stacked Spawner blocks within the Limits addon. Make it so that if an island has a spawner limit, the addon will recognize and count the stacked spawners into the total of spawners on the island.

There is API for WildStacker which allows to grab the Stacked Spawners by location. This should be sufficient to accomplish this task. Describe alternatives you've considered There are no real alternatives for this problem outside of just having no spawners allowed, or not using the Limits addon. Additional context N/A

Poslovitch commented 3 years ago

Related to https://github.com/BentoBoxWorld/BentoBox/issues/644