Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slimes ignore deny_mob_spawn #175

Open
minus1over12 opened this issue Oct 28, 2020 · 2 comments
Open

Slimes ignore deny_mob_spawn #175

minus1over12 opened this issue Oct 28, 2020 · 2 comments

Comments

@minus1over12
Copy link
Contributor

No description provided.

@JotaFaD
Copy link
Collaborator

JotaFaD commented Oct 29, 2020

According to the docs, Slime extends Mob and not Monster, so this check is returning true and the spawn event is not being cancelled. There should be a specific check for Slimes, just like for Phantoms.

if ((!(event.getEntity() instanceof Monster) && !(event.getEntity() instanceof Phantom)) ||

@lengyefenghan
Copy link

this bug is not fix ,slimefunvused in civs is no safe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants