mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 19:39:37 +00:00
Text colors wrap to EnumChatFormatting
* Fix #22 Text colors wrap to EnumChatFormatting * Fix #22 Fixed code error with "paragraph" char in EnumColor
This commit is contained in:
1 parent
f402cb155f
commit
856f08b752
33 files changed
+403
-340
No files matched your search
@@ -13,6 +13,7 @@ import binnie.core.craftgui.controls.ControlTextCentered;
|
||||
import forestry.api.genetics.IIndividual;
|
||||
import binnie.core.craftgui.geometry.IArea;
|
||||
import binnie.core.craftgui.IWidget;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
|
||||
public class AnalystPageKaryogram extends ControlAnalystPage
|
||||
{
|
||||
@@ -20,7 +21,7 @@ public class AnalystPageKaryogram extends ControlAnalystPage
|
||||
super(parent, area);
|
||||
this.setColor(10040319);
|
||||
int y = 4;
|
||||
new ControlTextCentered(this, y, "§nKaryogram").setColor(this.getColor());
|
||||
new ControlTextCentered(this, y, EnumChatFormatting.UNDERLINE + "Karyogram").setColor(this.getColor());
|
||||
y += 16;
|
||||
y += 8;
|
||||
final ISpeciesRoot root = AlleleManager.alleleRegistry.getSpeciesRoot(ind.getClass());
|
||||
|
||||
Reference in new issue
Block a user