Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < stacks.size(); i++) {
- int width = i % DASH_W;
- int height = i / DASH_W;
- if (arrangedIcons.length >= height)
- arrangedIcons = ObjectArrays.concat(arrangedIcons, new ItemIcon[DASH_W]);
- ItemIcon[] current = arrangedIcons[height];
- current[width] = new ItemIcon(stacks.get(i));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement