From dbf738b492ca2e93a97582843ae8e5234770703a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Fri, 24 May 2024 20:19:11 +0200 Subject: [PATCH] Test --- .../java/systems/brn/server_storage/screens/StorageScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();