fix loader check (#144)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
__felix__andgithub-actions[bot] authored and GitHub committed 2026-07-29 11:52:12 -04:00
1 parent aec32b9149
commit fc58f5346c
4 files changed
+8 -6

No files matched your search

@@ -125,7 +125,8 @@ public class BoundPickaxe extends ItemPickaxe implements IBindable {
dropMultiset.add(new ItemType(block, meta));
} else {
ArrayList<ItemStack> itemDropList;
if (AlchemicalWizardry.isGregTechLoaded && block instanceof GTBlockOre ore) {
if (AlchemicalWizardry.isGregTech5UnofficialNewHorizonsLoaded
&& block instanceof GTBlockOre ore) {
itemDropList = ore.getDropsForPlayer(world, x, y, z, meta, fortuneLvl, player);
} else {
itemDropList = block.getDrops(world, x, y, z, meta, fortuneLvl);