mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 20:52:36 +00:00
Fix ReadNBT Tag Error
This commit is contained in:
1 parent
c4b9a5ca21
commit
53070b47c4
4 files changed
+3
-10
No files matched your search
@@ -59,13 +59,9 @@ public class GuiCustomScrollCloner extends GuiCustomScroll {
|
||||
int tagStartX = j + fontRendererObj.getStringWidth(displayString) + 5;
|
||||
if(GuiNpcMobSpawner.displayTags == 0 || GuiNpcMobSpawner.displayTags == 2){
|
||||
if (this.parent.tagMap.hasClone(list.get(i))) {
|
||||
System.out.println("BRUH 2");
|
||||
for (UUID tagUUID : this.parent.tagMap.getUUIDs(list.get(i))){
|
||||
Tag tag = this.parent.tags.get(tagUUID);
|
||||
System.out.println("BRUH 2.5");
|
||||
if(tag != null){
|
||||
System.out.println("-- BRUH 3 --");
|
||||
System.out.println(GuiNpcMobSpawner.displayTags);
|
||||
if(GuiNpcMobSpawner.displayTags == 2){
|
||||
fontRendererObj.drawString("[" + tag.name + "]", tagStartX, k, tag.color);
|
||||
tagStartX += fontRendererObj.getStringWidth("[" + tag.name + "]") + 2;
|
||||
|
||||
Reference in new issue
Block a user