Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MerchantPug committed Mar 13, 2024
1 parent 0d50138 commit d951653
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public boolean doesApply(LootContext lootContext, Entity entity) {
}
if(lootContext.hasParam(LootContextParams.ORIGIN)) {
BlockPos blockPos = new BlockPos(lootContext.getParam(LootContextParams.ORIGIN));
return ConfiguredBlockCondition.check(blockCondition(), lootContext.getLevel(), blockPos);
return ConfiguredBlockCondition.check(blockCondition(), lootContext.getLevel(), blockPos, () -> lootContext.getParam(LootContextParams.BLOCK_STATE));
}
return true;
}
Expand Down

0 comments on commit d951653

Please sign in to comment.