Structurize

Structurize

40M Downloads

Duplicate check of iBlockState in isWater intended?

MatthiasMann opened this issue ยท 2 comments

commented

The following line executes the same check twice:

return Objects.equals(iBlockState, Blocks.WATER.getDefaultState()) || Objects.equals(iBlockState, Blocks.WATER.getDefaultState());

Is this intended or should the 2nd check be for flowing water?

commented

Yes, was supposed to be flowing water =D

commented

I made it a more generic check now.