mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2024-12-28 18:34:15 +00:00
Fix console spam in default gui
This commit is contained in:
parent
fb3ebbc063
commit
8f74d1b17a
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ public class GuiActionButton {
|
||||||
* @return If this GuiActionButton has more than one icon/name
|
* @return If this GuiActionButton has more than one icon/name
|
||||||
*/
|
*/
|
||||||
public boolean isTickable() {
|
public boolean isTickable() {
|
||||||
|
if (this.itemStack != null)
|
||||||
|
return false;
|
||||||
return this.icons != null ? this.icons.length > 1 : this.colors.length > 1;
|
return this.icons != null ? this.icons.length > 1 : this.colors.length > 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue