]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - src/main/java/com/irtimaled/bbor/client/config/Configuration.java
Allow colors to be configured
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / config / Configuration.java
index 432a076d446ca106427015a7a9969a704bd34616..af4e09cf5583bd6aa750b71d7c8c339f6dc8922c 100644 (file)
@@ -83,6 +83,8 @@ class Configuration {
                 return new Setting<>(type, Integer.parseInt(value));
             case 'B':
                 return new Setting<>(type, value.equals("1") || value.toLowerCase().equals("true"));
+            case 'H':
+                return new Setting<>(type, HexColor.from(value));
         }
         return new Setting<>(type, value);
     }