FastCraft

FastCraft

138k Downloads

GUIButtonRecipe.getItem() being called twice per update

BenWoodworth opened this issue ยท 0 comments

commented

v0.21.1
When the recipes are updated, GUIButtonRecipe.getItem() is being called twice.
Affected lines

co.kepler.fastcraftplus.craftgui.buttons.GUIButtonRecipe.getItem(GUIButtonRecipe.java:89)
co.kepler.fastcraftplus.api.gui.GUI.updateLayout(GUI.java:139)
co.kepler.fastcraftplus.craftgui.buttons.GUIButtonRecipe.getItem(GUIButtonRecipe.java:89)
co.kepler.fastcraftplus.api.gui.GUIButton$GUIButtonCopy.<init>(GUIButton.java:67)
co.kepler.fastcraftplus.api.gui.GUIButton.copy(GUIButton.java:54)
co.kepler.fastcraftplus.api.gui.GUI.updateLayout(GUI.java:140)