ShaneBeee / SkBee

SkBee is a Skript addon that aims to add more useful elements to Skript.
GNU General Public License v3.0
58 stars 20 forks source link

[BUG] Piercing NBT #659

Closed 3Fendi3 closed 2 months ago

3Fendi3 commented 2 months ago

What happened?

`
make player shoot arrow at speed 4 set byte tag "PierceLevel" of nbt from last shot arrow to 10 send "&c%last shot arrow.getPierceLevel()%" to player send "&b%tag type of tag "PierceLevel" of nbt compound of last shot arrow%" to player

send nbt of last shot arrow to player ` image Why does boolean appear after checking the tag type if it is a byte? And it doesn't save at all, even though it's in nbt, the arrow doesn't fly through the mobs

Steps to reproduce

Custom shoot from any item

Expected behavior

tag type should be byte piercing should work

SkBee Version

3.5.3

Server Version

paper 1.20.6

SkBee Info

image

Additional Information

No response

ShaneBeee commented 2 months ago

Why does boolean appear after checking the tag type if it is a byte?

This is a mistake on my part

And it doesn't save at all, even though it's in nbt, the arrow doesn't fly through the mobs

That is unfortunately out of my control. If the tag is set, it appears Minecraft knows about it, but what Minecraft does with it, that I can't do anything about.