Skip to content

Commit

Permalink
Update Construct.js
Browse files Browse the repository at this point in the history
  • Loading branch information
06000208 committed Mar 28, 2022
1 parent 1c9a56b commit e019281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/Construct.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Construct {
* Loads a block, intended to be extended (using the super keyword) or
* replaced.
* @param {{id: *}} block
* @returns {boolean} True for success, false for failure
* @returns {boolean} Returns true upon success, false upon failure
*/
load(block) {
this.cache.set(block.id, block);
Expand All @@ -37,7 +37,7 @@ class Construct {
* Unloads a block, intended to be extended (using the super keyword) or
* replaced.
* @param {{id: *}} block
* @returns {boolean} True for success, false for failure
* @returns {boolean} Returns true upon success, false upon failure
*/
unload(block) {
return this.cache.delete(block.id);
Expand Down

0 comments on commit e019281

Please sign in to comment.