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