#unequip elytra in combat

1 messages · Page 1 of 1 (latest)

hollow quiver
#

cancel event

half ocean
#

cancel what event

#

lmfao

#

@hollow quiver

hollow quiver
#

armour change...

half ocean
#

tried it

#

didnt work

slow knot
#

Definitely works

#

I’ve used it before

hollow quiver
half ocean
#
    if event-item is elytra:
        cancel event```
hollow quiver
#

Debug

#

Also is an elytra

half ocean
#

soo

#

what would the code be

#

;-;

brisk dock
#

Debug, put broadcasts on:

  1. Before the if, see if the event works.
  2. After the if, see the if check succrrded

If it never came to the second broadcast, check the event-item via a broadcast, if it did go past cancel event is bugged (unlikely)

#

If this is tested on a public serv with others one you can aslo add a check if its your player and do send (string) to player

#

Hope this helps you debug.

half ocean
#

k

#

thanks

#

@brisk dock it didn't let me cancel the event

brisk dock
#

Ok that means you cant cancel that, i didnt know you couldnt but you can maybe makr it so the elytra gets put back in the inventory, not sure how to solve it easiest tho

void cedar
half ocean
#

i just made it so you dont get the elytra .-.

slow knot
half ocean
#

ik

#

thats what i did

#

it gave 2

slow knot
#

It wasn’t a ghost item?

half ocean
#

it gives 1 sometimes and 2 other time

#

nope

#

it wasnt a ghost item

#

maybe because im in creative wait

#

oh it works

#

thanks

#

:D

slow knot
#

Nice

half ocean
#

can you make a enchanted golden apple cooldown that is like visual like ender pearls? in skript

hollow quiver
#

idk about the visual part, but yes

#

you could have it displayed on an action bar or smthn

half ocean
#

ok

#

so i would need to make a plugin or use protcollib to make egap cooldown visual 😭

#

lmfao

#

thanks for the help tho