Skip to content

Commit

Permalink
fix: Rock Pet Milestone counts Dwarven Metal and Gemstones too
Browse files Browse the repository at this point in the history
  • Loading branch information
Fix3dll committed Dec 5, 2024
1 parent be8979e commit 553a4cb
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1166,8 +1166,12 @@ public void onBlockBreak(SkyblockBlockBreakEvent e) {

SkyblockOre minedOre = SkyblockOre.getByStateOrNull(blockState);
if (minedOre != null) {
if (minedOre.getBlockType() == SkyblockOre.BlockType.ORE) {
main.getPersistentValuesManager().addOresMined();
switch (minedOre.getBlockType()) {
case ORE:
case DWARVEN_METAL:
case GEMSTONE:
main.getPersistentValuesManager().addOresMined();
break;
}

if (DevUtils.isLoggingSkyBlockOre()) {
Expand Down

0 comments on commit 553a4cb

Please sign in to comment.