BentoBoxWorld / Greenhouses

BentoBox Add-on to enable personal biomes in a glass greenhouse
Eclipse Public License 2.0
13 stars 9 forks source link

Make creating async? #68

Closed VozikCZE closed 3 years ago

VozikCZE commented 3 years ago

Description

Is your feature request related to a problem?

If player creates bigger greenhouse, it can create lag spike.

Is possible to do this task(or some other tasks like plants growing, conversions..) async?

Lasted tick after creating island(green message is succesed create of greenhouse): image

Tested on overclocked i7 8700K and 16 GB RAM.

tastybento commented 3 years ago

Yes, I'll look at it.

tastybento commented 3 years ago

I've made the initial greenhouse construction all async. Please try it. I plan to work on making the greenhouse content checking async as well, but it is not there yet.

tastybento commented 3 years ago

There is still a bug on the final reporting of success.

VozikCZE commented 3 years ago

Im going to test it tommorow morning (ETC+1)

VozikCZE commented 3 years ago

Tested and it looks ok.