Pam's HarvestCraft 2 - Trees

Pam's HarvestCraft 2 - Trees

15M Downloads

Saplings growing cause stack overflow

Linguardium opened this issue ยท 0 comments

commented

each of Pam's saplings have a method overridden called "grow"
Minecraft calls "grow", which then calls itself until the stack runs out of memory.

The intended function is for the sapling to call pam's custom method (also, confusingly, called grow)

It looks like she fixed it in the fruits by changing the name of the custom "grow" method to "growFruit" and changing growFruit to have the same argument order as the overridden grow method.