NBT Tag Glitch

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • Environment:

      Windows 64 Bit

      AMD Ryzen 5600

      RTX 3070ti

    • This server is running CraftBukkit version 4081-Spigot-b754dcc-e8f9149 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT)
    • overcharged
    • Yes

      I set the value of a NBT tag with the Persistent data type "String" but when I try get the same nbt tag with the code 

       
      {{ String uuids = container.get(Data.SUMMONING_MOB_UUIDS.key, PersistentDataType.STRING);}}
       
      It tells me that
      Caused by: java.lang.IllegalArgumentException: The found tag instance (NBTTagByte) cannot store String
       
      This happens when I right click the shard item and i open the menu, click the summoning icon(s), right click with it in my hand, reload and then try right clicking again.
       

            Assignee:
            Unassigned
            Reporter:
            Amogh Rathi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: