Solved Stopping Ender Crystals from Exploding

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Burnty_

New Member
Feb 16, 2017
8
0
1
34
Looking for a way to stop ender crystals from exploding - tried the obvious:

Code:
on damage:
    victim is an ender crystal
    cancel event

But no dice - tried a few other things as well but whatever I do I can't seem to stop it exploding when hit/clicked.

I am using Skript 2.4beta7 on Paper 1.13.2 (#648) - didn't see anything in the 2.4beta8 changelogs that would help with this either (haven't done my next wave of plugin updates on the server yet)
[doublepost=1570661613,1570661224][/doublepost]Never mind - Shane on the Discord got it, but if anybody else needs it:

Code:
on damage:
    if type of victim is an ender crystal:
        cancel event
 
Status
Not open for further replies.