#cant put event block

1 messages · Page 1 of 1 (latest)

simple mantle
#

the skript doesnt let me put the event block heres the skript:

  %event-block% contains moss
  name of player's tool is not {dci::item::moss-hoe}
  cancel event
  send "%{jbPrefix}% You need a Moss Hoe to destroy this block!"```
(the prob is in the second line)
#

it just says cant understand this condition/effect: %event-block% contains moss

analog imp
#

so are you trying to see if the name of the block contains the word 'moss'

simple mantle
#

I mean

#

I am trying to make that people can only break moss with a specific tool

#

and i tried moss in a lot of ways lol

analog imp
#

event-block is moss block

#

is {dci::item::moss-hoe} an item or text

simple mantle
#

oh it works now lol, thanks :D