kangarko / Boss

Premium custom monsters plugin with skill system, natural spawning and lots of sickest features!
https://www.mc-market.org/resources/21619/
77 stars 28 forks source link

1.20.1 API PROBLEM #1185

Closed Gryglo closed 1 year ago

Gryglo commented 1 year ago

1.20.1 API PROBLEM

I am using Boss API in my plugin and I tried to check if the entity is Boss using "BossAPI.isBoss(entity)" and it returned false even if the entity actually was the boss. I am using it in ProjectileHitEvent and getting the event.getHitEntity() btw.

Please take a look at it

kangarko commented 1 year ago

Check if the entity has Boss_V4 metadata using Bukkit's API. If that wont work then unfortunately some other plugin you have is removing it, i.e. mob stacking plugins