Build 1.5-15

Fixed an issue with control panels on servers
This commit is contained in:
malte0811 2017-07-13 18:13:06 +02:00
parent 74c0115102
commit 5911b6a49e
2 changed files with 11 additions and 1 deletions

View file

@ -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...

View file

@ -59,8 +59,12 @@ public class TileEntityPanel extends TileEntityIWBase implements IDirectionalTil
private Set<TileEntityRSPanelConn> 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);