ForestryMC / Binnie

Minecraft addons for the Forestry mod. Extra Bees, Extra Trees, Genetics, and more.
https://minecraft.curseforge.com/projects/binnies-mods
Other
69 stars 77 forks source link

Server Crash When Using With Plant Sower #636

Closed KumariAshamaki closed 4 years ago

KumariAshamaki commented 4 years ago

So here is the issue if you use a Binnie tree sapling in the Plant sower from Industrial Foregoing and it plants them side by side and they grow the server will crash.

Crash Log

Time: 3/11/20 12:59 AM Description: Exception ticking world

java.lang.NullPointerException: Exception ticking world at forestry.arboriculture.genetics.TreeGrowthHelper.hasSufficientSaplingsAroundSapling(TreeGrowthHelper.java:65) at forestry.arboriculture.genetics.TreeGrowthHelper.canGrow(TreeGrowthHelper.java:20) at forestry.arboriculture.genetics.Tree.canGrow(Tree.java:167) at binnie.extratrees.gen.BinnieWorldGenTree.canGrow(BinnieWorldGenTree.java:62) at binnie.extratrees.gen.BinnieWorldGenTree.generate(BinnieWorldGenTree.java:115) at forestry.arboriculture.tiles.TileSapling.tryGrow(TileSapling.java:99) at forestry.arboriculture.tiles.TileSapling.onBlockTick(TileSapling.java:50) at forestry.arboriculture.blocks.BlockTreeContainer.func_180650_b(BlockTreeContainer.java:44) at net.minecraft.block.Block.func_180645_a(Block.java:508) at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:476) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:225) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:756) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) at java.lang.Thread.run(Unknown Source)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Server thread Stacktrace: at forestry.arboriculture.genetics.TreeGrowthHelper.hasSufficientSaplingsAroundSapling(TreeGrowthHelper.java:65) at forestry.arboriculture.genetics.TreeGrowthHelper.canGrow(TreeGrowthHelper.java:20) at forestry.arboriculture.genetics.Tree.canGrow(Tree.java:167) at binnie.extratrees.gen.BinnieWorldGenTree.canGrow(BinnieWorldGenTree.java:62) at binnie.extratrees.gen.BinnieWorldGenTree.generate(BinnieWorldGenTree.java:115) at forestry.arboriculture.tiles.TileSapling.tryGrow(TileSapling.java:99) at forestry.arboriculture.tiles.TileSapling.onBlockTick(TileSapling.java:50) at forestry.arboriculture.blocks.BlockTreeContainer.func_180650_b(BlockTreeContainer.java:44) at net.minecraft.block.Block.func_180645_a(Block.java:508) at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:476) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:225)

If you need the full log let me know