ionelaipatioaei / AgriculturalExpansion

Agricultural Expansion source code.
http://minecraft.curseforge.com/projects/agricultural-expansion
Other
3 stars 2 forks source link

Missing getPlantType override in AECrop #22

Closed lumien231 closed 7 years ago

lumien231 commented 7 years ago

Connected to lumien231/Random-Things#114

The Plant Type of your item and your block are different. You extend ItemSeeds with AESeed so the type of the item is EnumPlantType.Crop You don't override IPlantable.getPlantType in AECrop so it defaults to EnumPlantType.Plains

That's why your seeds can be planted on random things fertilized dirt but get destroyed next "update" because the block (Which has a different plant type) can't stay there.

ionelaipatioaei commented 7 years ago

Fixed in r-1.2.2.