Skip to content

Conversation

@Promises
Copy link
Collaborator

@Promises Promises commented Jun 9, 2020

Banking should work exactly like old rs, including not saving null slots, so all blank spaces gets removed on save

@Promises
Copy link
Collaborator Author

Promises commented Jun 9, 2020

This does not include noted, swap/insert as of yet.

[10041, 1342]
]);
...objectIds.tree.normal.map((tree) => [tree.default, tree.stump]),
...objectIds.tree.dead.map((tree) => [tree.default, tree.stump]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯


public findIndex(item: number | Item): number {
const itemId = (typeof item === 'number') ? item : item.itemId;
return this._items.findIndex(i => i !== null && i.itemId === itemId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls fix

TheBlackParade
TheBlackParade previously approved these changes Jun 9, 2020
Copy link
Contributor

@TheBlackParade TheBlackParade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@TheBlackParade TheBlackParade merged commit fcecb92 into runejs:master Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants