[SPIGOT-4885] Cannot use empty enchantment tag in an item (Vanilla Datapack) Created: 07/May/19 Updated: 07/May/19 Resolved: 07/May/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Wasinthorn Suksri | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | DataPacks, enchantment, nbt |
Attachments: |
![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Version: | git-Spigot-1a3504a-dfa7583 (MC: 1.13.2) / git-Spigot-1eece4f-d203283 (MC: 1.14) | ||||||||
Guidelines Read: | Yes |
Description |
When you using /give @s diamond{Enchantments:[{}]} command, you can create a fake glowing effect. Currently vanilla has no function or tag that make the fake glowing enchantment to an item.
But when using Spigot. A diamond that you given using command from above, it's looks like normal item.
Original Bug Report : https://github.com/PaperMC/Paper/issues/1923 |
Comments |
Comment by md_5 [ 07/May/19 ] |
The fact that this happens in Vanilla is essentially a bug in Vanilla. It is also not something that is imo compatible with Spigot as a plugin API. Consider if Spigot were to handle having a list of enchantments that is empty. How then would a plugin be able to remove enchantments including the empty tag, or distinguish the case having no enchantments vs "having no enchantments". |