Test
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user