Fix console spam in default gui

This commit is contained in:
Esophose 2021-02-08 13:41:27 -07:00
parent fb3ebbc063
commit 8f74d1b17a

View file

@ -166,6 +166,8 @@ public class GuiActionButton {
* @return If this GuiActionButton has more than one icon/name
*/
public boolean isTickable() {
if (this.itemStack != null)
return false;
return this.icons != null ? this.icons.length > 1 : this.colors.length > 1;
}