The Vanilla Experience (Mod) (Forge)

The Vanilla Experience (Mod) (Forge)

118k Downloads

Tree Harverster: Crash on a cobblemon server

QuentiumYT opened this issue ยท 4 comments

commented

Information

Minecraft version: 1.20.1
Modloader: Fabric
Fabric loader version: 1.16.9
Environment: Multiplayer (10 avg player)

Mod name: Tree Harverster
Mod version: 9.1

Datapack: https://www.curseforge.com/minecraft/modpacks/cobblemon-star-academy but updated all mods almost

Description

Hey, I don't really who did that and what really happened

Crash report

crash-2025-03-02_15.55.35-server.txt

commented

According to the crash report, a player on your server tried to cut down a tree, but either the tree itself was very large or (more likely) trees in the forest grew in such a way that Tree Harvester considered them as one large tree. The stack trace consisted of Tree Harvester's getLogsToBreak function calling itself recursively thousands of times.

Assuming it was a real player, the location of the tree was close to one of the following (X,Y,Z):

   14.16  69.00   -25.23
 2009.29  70.00  -741.51
  748.42 105.39  1326.51
   66.83  72.00    39.82
   66.24  72.00    41.43
  257.69  58.00   -83.97
-1773.99 146.91   109.34
11385.62  71.00 -3179.22

Can you please check for dense forests or large trees near these coordinates in your server's world, and report what they are and which mod they may be from?

commented

Image

I think this is the problem xD A huge forest with plenty of connected logs, would you like to add a config for the maximum number of broken logs?

commented

Image

Image

There is one big tree but it wasn't harvested

The second might have be broken but no clue why it caused a crash, do you have any clue? The tree is from Oh The Biomes We've Gone

commented

Hey @ricksouth, can you add some config to break a maximum amount of logs perhaps?

// How many logs maximum can be broken at once. Can reduce lags or prevent modded forest to disappear all at once. Note that this can leave half a tree. By default -1 for infinite.
"maxAmountOfLogsBroken": -1