Hello, I'm trying to make that an iron and a gold ore, instead of dropping me the ore, drops the ingot.
Here is the code that I don't know how to make it work.
Please, help!
Here is the code that I don't know how to make it work.
code_language.skript:
on break of gold ore:
player is in world "Skywars":
cancel event
set the block at event-block location to air
drop gold ingot at event-block location
on break of iron ore:
player is in world "Skywars":
cancel event
set the block at event-block location to air
drop iron ingot at event-block location
on break of emerald ore:
player is in world "Skywars":
cancel event
set the block at event-block location to air
Please, help!