Skip to content

Commit

Permalink
Ensure storage is initialized to the correct size and filled with empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
covers1624 committed Sep 22, 2024
1 parent 6e7223a commit 866e9ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class EnderItemStorage extends AbstractEnderStorage implements Container
public EnderItemStorage(EnderStorageManager manager, Frequency freq) {
super(manager, freq);
size = EnderStorageConfig.storageSize;
items = new ItemStack[size];
items = ArrayUtils.fill(new ItemStack[getContainerSize()], ItemStack.EMPTY);
}

@Override
Expand Down

0 comments on commit 866e9ac

Please sign in to comment.