diff --git a/common/src/main/java/dev/ftb/mods/ftblibrary/icon/Color4I.java b/common/src/main/java/dev/ftb/mods/ftblibrary/icon/Color4I.java index 7ec88858..f4917470 100644 --- a/common/src/main/java/dev/ftb/mods/ftblibrary/icon/Color4I.java +++ b/common/src/main/java/dev/ftb/mods/ftblibrary/icon/Color4I.java @@ -89,13 +89,20 @@ public PixelBuffer createPixelBuffer() { return null; } + @Override public int hashCode() { return 0; } + @Override public boolean equals(Object o) { return o == this; } + + @Override + public String toString() { + return ""; // see Icon.isNone() + } }; static { diff --git a/gradle.properties b/gradle.properties index 1e3e977f..ba968935 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.daemon=false mod_id=ftblibrary archives_base_name=ftb-library maven_group=dev.ftb.mods -mod_version=2001.2.6 +mod_version=2001.2.7 mod_author=FTB Team minecraft_version=1.20.1 architectury_version=9.0.8