Lortseam 4 роки тому
батько
коміт
2dbdfe298f

+ 0 - 2
src/main/java/me/lortseam/completeconfig/api/ConfigEntry.java

@@ -203,8 +203,6 @@ public @interface ConfigEntry {
         /**
          * Specifies whether the color has an alpha value.
          *
-         * <p>This element is only evaluated by GUI providers. It will not restrict the type of this entry.
-         *
          * @return whether the color has an alpha value
          */
         boolean alphaMode();

+ 1 - 1
src/main/java/me/lortseam/completeconfig/gui/cloth/ClothConfigScreenBuilder.java

@@ -63,7 +63,7 @@ public final class ClothConfigScreenBuilder extends ConfigScreenBuilder {
 
     private AbstractConfigListEntry<?> buildEntry(Entry<?> entry) {
         return registry.getProvider(entry).orElseThrow(() -> {
-            return new UnsupportedOperationException("Could not find GUI provider for field " + entry.getField());
+            return new UnsupportedOperationException("Could generate GUI for field " + entry.getField());
         }).build(entry);
     }