Skip to content

Commit

Permalink
Apoli: Fix ReplaceLootTableConfiguration having an incorrect blockst…
Browse files Browse the repository at this point in the history
…ate getter.
  • Loading branch information
MerchantPug committed Mar 13, 2024
1 parent 5aa9dda commit 0d50138
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, () -> lootContext.getParam(LootContextParams.BLOCK_STATE));
return ConfiguredBlockCondition.check(blockCondition(), lootContext.getLevel(), blockPos);
}
return true;
}
Expand Down

0 comments on commit 0d50138

Please sign in to comment.