Skip to content

Commit

Permalink
made stone covers not stop tool ineractions on pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jun 2, 2024
1 parent 0cee679 commit fc21b40
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 CoverStone(@NotNull ICoverHandler<?> source, @Nullable Tier tier, Directi

@Override
public InteractionResult onInteract(Player player, InteractionHand hand, Direction side, @Nullable AntimatterToolType type) {
return InteractionResult.FAIL;
return source().getTile() instanceof BlockEntityPipe<?> ? InteractionResult.PASS : InteractionResult.FAIL;
}

@Override
Expand Down

0 comments on commit fc21b40

Please sign in to comment.