-Added Lamp Colors
|
@ -38,10 +38,12 @@ public enum TheColoredLampColors implements INameableItem{
|
||||||
}
|
}
|
||||||
|
|
||||||
public static TheColoredLampColors getColorFromDyeName(String color){
|
public static TheColoredLampColors getColorFromDyeName(String color){
|
||||||
|
if(color.substring(0, 3).equals("dye")){
|
||||||
String actualName = color.substring(3);
|
String actualName = color.substring(3);
|
||||||
for(int i = 0; i < values().length; i++){
|
for(int i = 0; i < values().length; i++){
|
||||||
if(values()[i].getName().equals(actualName)) return values()[i];
|
if(values()[i].getName().equals(actualName)) return values()[i];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 493 B |
Before Width: | Height: | Size: 540 B After Width: | Height: | Size: 518 B |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 471 B |
Before Width: | Height: | Size: 478 B After Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 489 B |
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 600 B |