Skript

Skript

743k Downloads

Can't cancel endermite spawning?

juzijun233 opened this issue ยท 3 comments

commented

Skript/Server Version

[16:45:00 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[16:45:00 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[16:45:00 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[16:45:00 INFO]: [Skript] Server Version: 1.21-2276-72ccfbd (MC: 1.21)
[16:45:00 INFO]: [Skript] Skript Version: 2.9.0 (skriptlang-github)
[16:45:00 INFO]: [Skript] Installed Skript Addons:
[16:45:00 INFO]: [Skript]  - skript-placeholders v1.6.0 (https://github.com/APickledWalrus/skript-placeholders)
[16:45:00 INFO]: [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[16:45:00 INFO]: [Skript]  - skript-yaml v1.5
[16:45:00 INFO]: [Skript]  - MongoSK v2.3.2 (https://github.com/Romitou/MongoSK)
[16:45:00 INFO]: [Skript]  - skript-reflect v2.5.1 (https://github.com/SkriptLang/skript-reflect)
[16:45:00 INFO]: [Skript]  - skript-db v1.3.9
[16:45:00 INFO]: [Skript]  - SkJson v4.0.1
[16:45:00 INFO]: [Skript]  - SkBee v3.5.8 (https://github.com/ShaneBeee/SkBee)
[16:45:00 INFO]: [Skript]  - PoaSkRewritev2 v4.7.3 (https://github.com/Ekpoa/PoaSkRewritev2)
[16:45:00 INFO]: [Skript]  - ItemsAdder v4.0.2-alpha-test-3 (devs.beer)
[16:45:00 INFO]: [Skript] Installed dependencies:
[16:45:00 INFO]: [Skript]  - Vault v1.7.3-b131
[16:45:00 INFO]: [Skript]  - WorldGuard v7.0.11-beta1+a801a9d

Bug Description

You can't cancel the spawning of ender mites, but you can cancel the spawning of mobs due to natural causes (I know that the spawning of ender mites is not due to natural causes)

Expected Behavior

As well as canceling natural spawning, using an ender pearl will prevent endermites from spawning.

Steps to Reproduce

on spawn:
    log "%event-spawnreason% | %event-entity%"
    if event-entity is endermite:
        log "spawn endermite"#no effect in log
        cancel event

image

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

event-entity is an endermite
or
type of event-entity is endermite

commented

yes an endermite should fix it

commented

Closing due to no response.