Trying To make a pickaxe with a certain name drop more cobblestone when mining stone

  • 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 community!

    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.
Jul 25, 2019
20
2
0
So I'm trying to make a pickaxe (with the name Miner's Dream) drop more cobblestone when mining stone and the code I've made has no errors but it is not working in game.

Code:
on break of Stone:
    if event-player is holding a diamond pickaxe:
        if the name of the event-item is "Miner's Dream":
            If the 0th line of the lore of the event-item is "The Biggest Dream For A Miner":
                drop 4 cobblestone

Please may someone help me.
 
rather than using event-item, try using `player's tool`
 
Status
Not open for further replies.