Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7614

NBT Tag Glitch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • 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.
       

            Unassigned Unassigned
            Amogh_coding Amogh Rathi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: