Made color and alpha components global among ScriptGui classes.

This commit is contained in:
luisc committed 2022-01-30 05:20:45 -06:00
1 parent be61bd4e17
commit e5e1aa1972
16 files changed
+168 -98

No files matched your search

@@ -92,7 +92,7 @@ public abstract class ScriptOverlayComponent implements ICustomOverlayComponent
this.setPos(nbt.getIntArray("pos")[0], nbt.getIntArray("pos")[1]);
this.setAlignment(nbt.getInteger("alignment"));
this.setColor(nbt.getInteger("color"));
this.setAlpha(nbt.getInteger("alpha"));
this.setAlpha(nbt.getFloat("alpha"));
return this;
}