Skip to content

Commit

Permalink
Fix spelling (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes7k75 authored Aug 7, 2024
1 parent 759f4f9 commit d2ead1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/structures/SkyBlock/SkyblockGarden.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class SkyblockGarden {
pumpkin: getLevelByXp(data.garden?.resources_collected?.PUMPKIN || 0, 'pumpkin'),
melon: getLevelByXp(data.garden?.resources_collected?.MELON || 0, 'melon'),
cactus: getLevelByXp(data.garden?.resources_collected?.CACTUS || 0, 'cactus'),
cocoBeans: getLevelByXp(data.garden?.resources_collected?.['INK_SACK:3'] || 0, 'cocoBeans'),
cocoaBeans: getLevelByXp(data.garden?.resources_collected?.['INK_SACK:3'] || 0, 'cocoaBeans'),
mushroom: getLevelByXp(data.garden?.resources_collected?.MUSHROOM_COLLECTION || 0, 'mushroom'),
netherWart: getLevelByXp(data.garden?.resources_collected?.NETHER_STALK || 0, 'netherWart')
};
Expand Down Expand Up @@ -81,7 +81,7 @@ class SkyblockGarden {
pumpkin: data.garden?.crop_upgrade_levels?.PUMPKIN || 0,
melon: data.garden?.crop_upgrade_levels?.MELON || 0,
cactus: data.garden?.crop_upgrade_levels?.CACTUS || 0,
cocoBeans: data.garden?.crop_upgrade_levels?.['INK_SACK:3'] || 0,
cocoaBeans: data.garden?.crop_upgrade_levels?.['INK_SACK:3'] || 0,
mushroom: data.garden?.crop_upgrade_levels?.MUSHROOM_COLLECTION || 0,
netherWart: data.garden?.crop_upgrade_levels?.NETHER_STALK || 0
};
Expand Down Expand Up @@ -125,7 +125,7 @@ class SkyblockGarden {
* @property {number} pumpkin Pumpkin
* @property {number} melon Melon
* @property {number} cactus Cactus
* @property {number} cocoBeans Coco Beans
* @property {number} cocoaBeans Cocoa Beans
* @property {number} mushroom Mushroom
* @property {number} netherWart Nether Wart
*/
Expand All @@ -138,7 +138,7 @@ class SkyblockGarden {
* @property {SkyblockSkillLevel} pumpkin Pumpkin

Check warning on line 138 in src/structures/SkyBlock/SkyblockGarden.js

View workflow job for this annotation

GitHub Actions / es-lint

The type 'SkyblockSkillLevel' is undefined

Check warning on line 138 in src/structures/SkyBlock/SkyblockGarden.js

View workflow job for this annotation

GitHub Actions / es-lint

The type 'SkyblockSkillLevel' is undefined
* @property {SkyblockSkillLevel} melon Melon

Check warning on line 139 in src/structures/SkyBlock/SkyblockGarden.js

View workflow job for this annotation

GitHub Actions / es-lint

The type 'SkyblockSkillLevel' is undefined

Check warning on line 139 in src/structures/SkyBlock/SkyblockGarden.js

View workflow job for this annotation

GitHub Actions / es-lint

The type 'SkyblockSkillLevel' is undefined
* @property {SkyblockSkillLevel} cactus Cactus
* @property {SkyblockSkillLevel} cocoBeans Coco Beans
* @property {SkyblockSkillLevel} cocoaBeans Cocoa Beans
* @property {SkyblockSkillLevel} mushroom Mushroom
* @property {SkyblockSkillLevel} netherWart Nether Wart
*/
Expand Down
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export interface SKYBLOCK_GARDEN_CROPS {
pumpkin: number;
melon: number;
cactus: number;
cocoBeans: number;
cocoaBeans: number;
mushroom: number;
netherWart: number;
}
Expand Down Expand Up @@ -2625,7 +2625,7 @@ declare module 'hypixel-api-reborn' {
pumpkin: SKYBLOCK_SKILL_DATA;
melon: SKYBLOCK_SKILL_DATA;
cactus: SKYBLOCK_SKILL_DATA;
cocoBeans: SKYBLOCK_SKILL_DATA;
cocoaBeans: SKYBLOCK_SKILL_DATA;
mushroom: SKYBLOCK_SKILL_DATA;
netherWart: SKYBLOCK_SKILL_DATA;
};
Expand Down

0 comments on commit d2ead1b

Please sign in to comment.