Solved Unable to give a glowing or enchanted item

  • 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.

PARA60N

Member
Mar 6, 2017
1
0
0
Skript Version: Dev25
Skript Author: bensku
Minecraft Version: 1.11.2

---
Full Code:

code_language.skript:
command /Erupter:
    aliases: /e
    trigger:
        give player 1 enchanted diamond pickaxe named "&4Erupter" with lore "&6Right Click to set owner!"

Errors on Reload:

code_language.skript:
'1 enchanted diamond pickaxe named "&4Erupter" with lore "&6Right Click to set owner!"' can't be added to a player because the former is neither an item type, an inventory nor an experience point (Erupter.sk, line 9: give player 1 enchanted diamond pickaxe named "&4Erupter" with lore "&6Right Click to set owner!"')

Console Errors: (if applicable)

code_language.skript:
None

Other Useful Info:

Addons using (including versions):
https://gyazo.com/685da6edd2b8a5871f86d98e7a10e6a7

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it?
code_language.skript:
command /Erupter:
    aliases: /e
    trigger:
        give player 1 glowing diamond pickaxe named "&4Erupter" with lore "&6Right Click to set owner!"
code_language.skript:
command /Erupter:
    aliases: /e
    trigger:
        give 1 glowing diamond pickaxe named "&4Erupter" with lore "&6Right Click to set owner!" to player
 
code_language.skript:
command /Erupter:
    aliases: /e
    trigger:
        give player 1 of glowing diamond pickaxe named "&4Erupter" with lore "&6Right Click to set owner!"
The word of changes everything lol

I will make a pull request making the of optional as alot of people make this same error. If I can find where this is.
 
Last edited by a moderator:
Status
Not open for further replies.