Skip to content

Commit

Permalink
fix: brazier
Browse files Browse the repository at this point in the history
Closes #171
  • Loading branch information
klikli-dev committed Feb 14, 2024
1 parent b875082 commit 0a18739
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public HeatConsumerBehaviour(BlockEntity blockEntity) {
}

boolean hasHeatProvider() {
var heatBelow = this.blockEntity.getLevel().getCapability(CapabilityRegistry.HEAT_PROVIDER, this.blockEntity.getBlockPos().below(), this.blockEntity.getBlockState(), this.blockEntity, Direction.UP);
var heatBelow = this.blockEntity.getLevel().getCapability(CapabilityRegistry.HEAT_PROVIDER, this.blockEntity.getBlockPos().below(), Direction.UP);
if (heatBelow != null) {
return heatBelow.isHot();
}
Expand Down

0 comments on commit 0a18739

Please sign in to comment.