Patcher icon indicating copy to clipboard operation
Patcher copied to clipboard

Improvement Suggestion

Open TripleCF opened this issue 3 years ago • 0 comments

Wouldn't it make more sense and save resources to add a if statement to 'BlockNetherWartMixin_CropHeight.java' which checks wether the block is a nether wart?

if(worldIn.getBlockState(pos).getBlock() == Blocks.nether_wart){ CropUtilities.updateWartMaxY(worldIn, pos, worldIn.getBlockState(pos).getBlock()); }

Would save the client from calling the updateWartMaxY function every time.

TripleCF avatar Nov 27 '22 17:11 TripleCF