Hey, so I'm making a skript that makes it so that whenever a player mines a block, they get the item in their inventory and it also has compatibility with another multiplier skript and a potential autosmelter skript. Point is, for some reason, whilst all other blocks work, for some reason, copper doesnt. I've already tried giving copper in the same way using a command and it doesnt work, but this one doesnt. Here's a snippet of my code:
Any help is appreciated!
Code:
else if event-block is copper ore:
set {_drops::*} to drops of block with player's tool
set {_multi} to {multiplier::%player's uuid%::multiplier} * 1
clear drops
if {_drops::*} contains ("raw copper" parsed as an item):
if {tools::%player's uuid%::smelter} is true:
remove ("raw copper" parsed as an item) from {_drops::*}
add {_multi} of ("copper ingot" parsed as an item) to {_drops::*}
give player {_drops::*}
else:
remove ("raw copper" parsed as an item) from {_drops::*}
add {_multi} of ("raw copper" parsed as an item) to {_drops::*}
give player {_drops::*}
Any help is appreciated!
Last edited: