diff --git a/changelog.md b/changelog.md index bd80667..6c309c7 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +#####Version 1.5-15 + - Components can be placed in the world now to use the as conventional levers/etc. + - Added documentation on the key ring. It also shows all attached keys on the tooltip now + - Fixed some bugs with key ring crafting + - Fixed control panels causing disconnects on servers + #####Version 1.5-14 - Updated to Minecraft 1.12 - Added a recipe for the key ring. Kind of forgot about adding one when I added the ring itself... diff --git a/src/main/java/malte0811/industrialWires/blocks/controlpanel/TileEntityPanel.java b/src/main/java/malte0811/industrialWires/blocks/controlpanel/TileEntityPanel.java index e6a1e48..25b2915 100644 --- a/src/main/java/malte0811/industrialWires/blocks/controlpanel/TileEntityPanel.java +++ b/src/main/java/malte0811/industrialWires/blocks/controlpanel/TileEntityPanel.java @@ -59,8 +59,12 @@ public class TileEntityPanel extends TileEntityIWBase implements IDirectionalTil private Set rsPorts = new HashSet<>(); { + int[] colors = { + 16383998, 16351261, 13061821, 3847130, 16701501, 8439583, 15961002, + 4673362, 10329495, 1481884, 8991416, 3949738, 8606770, 6192150 + }; for (int i = 2; i < 14; i++) { - int color = EnumDyeColor.byMetadata(i - 2).getColorValue(); + int color = colors[i]; IndicatorLight ind = new IndicatorLight(0, (byte) (i - 2), color); LightedButton btn = new LightedButton(color, false, true, 1, i - 2); Label lbl = new Label("->", color);