Epicurean

Epicurean

24.5k Downloads

The crop block from epicurean should call super for appendProperties implementation

liach opened this issue ยท 3 comments

commented

Describe the bug
The crop block from epicurean should call super for appendProperties implementation.

This apparently causes crashes with other mods that add properties to all crop blocks, such as demeter. demeters' addition See Wtoll/demeter#13

To Reproduce
Steps to reproduce the behavior:

  1. Install both demeter and epicurean
  2. Plant epicurean block and crash

Expected behavior Optional
The epicurean crop block should include properties from base crop block

Version of the (please complete the following information):
See Wtoll/demeter#13

commented

ah yeah, I didn't think of this when I wrote this code. I'll fix this when I have time.

commented

Fyi this one needs updating as well

@Override
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
builder.add(AGE);
}

commented

I don't know if I can call to super on PickableCropBlock#appendProperties, sadly, as that would then force it to add Properties.AGE_7 as well, which I do not want. I'll try it, but if it breaks things I'm reverting.