Blackvein / Quests

Quests mod for Spigot
31 stars 35 forks source link

Some break-block-names not working #515

Closed vilgrar closed 7 years ago

vilgrar commented 7 years ago

Hi,

I tried setting up a quest to break acacia logs, but the plugin refuses to accept log2 as a break-block-name. I noticed a similar problem with other names, such as planks and stained_hardened_clay. I'm using Quests 2.7.6, the release version at Spigotmc.

This is the part of the quest that simply refuses to work:

   '1':
      break-block-names:
      - log2
      break-block-amounts:
      - 56
      break-block-durability:
      - 0
PikaMug commented 7 years ago

@vilgrar because "log2" is not the name of any known block. I believe you simply want "log" for break-block-name and "2" for break-block-durability.

vilgrar commented 7 years ago

According to [http://minecraft-ids.grahamedgecombe.com/], the name of Acacia Wood and Dark Oak Wood is log2? Those are the ones I can't use.

PikaMug commented 7 years ago

@vilgrar My mistake, you are correct. Try "log_2" with the underscore and let me know. From the Item Formatting page of the Wiki, it's recommended you use this for material names:

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html

vilgrar commented 7 years ago

I can't believe it was that easy. Thanks for the link, it's working now! =)