diff --git a/src/main/java/systems/brn/server_storage/screens/StorageScreen.java b/src/main/java/systems/brn/server_storage/screens/StorageScreen.java index 9b07416..f861edf 100644 --- a/src/main/java/systems/brn/server_storage/screens/StorageScreen.java +++ b/src/main/java/systems/brn/server_storage/screens/StorageScreen.java @@ -48,7 +48,7 @@ public class StorageScreen extends PagedGui { protected DisplayElement getElement(int id) { if (this.inventory.size() > id) { ItemStack itemStack = this.inventory.getStack(id); - GuiElementBuilder guiElement = GuiElementBuilder.from(itemStack); + GuiElementBuilder guiElement = new GuiElementBuilder(itemStack); return DisplayElement.of(guiElement); } return DisplayElement.empty();