Fix ReadNBT Tag Error

This commit is contained in:
KAMKEEL committed 2023-03-22 22:36:41 -04:00
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;