#27 NBT Data values are getting there types converted

오픈
Burchard363 년 전을 오픈 · 0개의 코멘트
Burchard36 코멘트됨, 3 년 전

I am running a plugin called CustomItems; that stores a specific tag called "com.jojodmo.customitems.internalVersion" and its value is a string. However; upon adding this (along with any other CustomItem item with this tag) the data type gets converted from a String to an Integer and this becomes an extremely horrid issue with stacking so now there are multiple different types of the same item but are not unstackable due to them now having different NBT data (Functionality of CustomItems through DropEdit2 is not lost though so that is good)

Steps to recreate:

1) get an item; and set a NBT data tag with a data type of String and a value of 1 as a String (I am not sure why CustomItems even sets this as a string to begin with)

2) Add the item to DropEdit2 with a NBT tag of 1 set to a String value to the ItemStack

3) Get the dropped item and run the /data command and you will notice that the data type is changed!

I am running a plugin called CustomItems; that stores a specific tag called "com.jojodmo.customitems.internalVersion" and its value is a string. However; upon adding this (along with any other CustomItem item with this tag) the data type gets converted from a String to an Integer and this becomes an extremely horrid issue with stacking so now there are multiple different types of the same item but are not unstackable due to them now having different NBT data (Functionality of CustomItems through DropEdit2 is not lost though so that is good) Steps to recreate: 1) get an item; and set a NBT data tag with a data type of String and a value of 1 as a String (I am not sure why CustomItems even sets this as a string to begin with) 2) Add the item to DropEdit2 with a NBT tag of 1 set to a String value to the ItemStack 3) Get the dropped item and run the /data command and you will notice that the data type is changed!
로그인하여 이 대화에 참여
마일스톤 없음
담당자 없음
참여자 1명
로딩중...
취소
저장
아직 콘텐츠가 없습니다.