BentoBoxWorld / Limits

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

Issue with EpicSpawners #155

Open VozikCZE opened 2 years ago

VozikCZE commented 2 years ago

Expected behavior

If I break stacked spawner, it should not decrease the count of spawner from limits.

Observed/Actual behavior

If I break stacked spawner from EpicSpawners (actually I only remove one of them), it will decrease the amount of spawners from limits. There is problem with priority I think. It is better to see in video.

The biggest problem here is that player can have unlimited spawners.

Steps/models to reproduce

https://youtu.be/DxZ7Q9V0Ilw

BentoBox version

[22:20:08 INFO]: Běžím na PURPUR 1.17.1. [22:20:08 INFO]: Verze BentoBox: 1.18.1 [22:20:08 INFO]: Databáze: MYSQL [22:20:08 INFO]: Načtené herní světy: [22:20:08 INFO]: bskyblock_world (BSkyBlock): Svět, Nether, End [22:20:08 INFO]: Načtené doplňky: [22:20:08 INFO]: BSkyBlock 1.15.1 (ENABLED) [22:20:08 INFO]: Chat 1.1.4 (ENABLED) [22:20:08 INFO]: Greenhouses 1.6.0 (ENABLED) [22:20:08 INFO]: Level 2.9.0 (ENABLED) [22:20:08 INFO]: Limits 1.19.0 (ENABLED) [22:20:08 INFO]: Warps 1.11.1 (ENABLED)

Plugin list

No response

Other

Source of EpicSpawners: https://github.com/songoda/EpicSpawners

tastybento commented 2 years ago

Yes. Right now Limits does not "know" about Epic Spawners. It would need to use the EpicSpawner's API to do that. That will take some work to do. I'll make this an Enhancement and hopefully someone can contribute some code if I don't manage to do it!