1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Bug Crash when 'mushroom-growth-modifier: 0'

Discussion in 'Bugs & Feature Requests' started by Netto Hikari, Feb 5, 2013.

  1. Hello, Spigot community!

    I usually keep mushroom growth disabled in my bukkit.yml by setting the 'mushroom-growth-modifier' to 0. This doesn't work anymore on build #485.

    Stack Trace:
    Code (Text):
    2013-02-05 23:23:32 [INFO] NettoHikari[/] logged in with entity id 652 at ([OW] -199.58981046369897, 91.34594277268967, 263.16468894411867)
    2013-02-05 23:23:36 [SEVERE] net.minecraft.server.v1_4_R1.ReportedException: Exception ticking world
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:567)
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:485)
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:420)
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    2013-02-05 23:23:36 [SEVERE] Caused by: java.lang.ArithmeticException: / by zero
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.BlockMushroom.b(BlockMushroom.java:27)
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.WorldServer.g(WorldServer.java:408)
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.WorldServer.doTick(WorldServer.java:181)
    2013-02-05 23:23:36 [SEVERE]    at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:563)
    2013-02-05 23:23:36 [SEVERE]    ... 4 more
    2013-02-05 23:23:36 [SEVERE] Encountered an unexpected exception ReportedException
    net.minecraft.server.v1_4_R1.ReportedException: Exception ticking world
            at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:567)
            at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
            at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:485)
            at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:420)
            at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    Caused by: java.lang.ArithmeticException: / by zero
            at net.minecraft.server.v1_4_R1.BlockMushroom.b(BlockMushroom.java:27)
            at net.minecraft.server.v1_4_R1.WorldServer.g(WorldServer.java:408)
            at net.minecraft.server.v1_4_R1.WorldServer.doTick(WorldServer.java:181)
            at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:563)
            ... 4 more
    2013-02-05 23:23:36 [SEVERE] This crash report has been saved to: /mnt/disk2/everbrix/./crash-reports/crash-2013-02-05_23.23.36-server.txt

    Thanks for making spigot so awesome. I'm gonna leave a small donation pretty soon. I attached the server log right after server start before the error occured, as well as the Minecraft crash dump as text file.

    Greetings from germany,
    - NH

    Attached Files:

  2. md_5

    Administrator Developer

    Yeah, its sortof a known issue, I might take a look at it later, although plugins are good for disabling growth :p
    • Like Like x 1
  3. Yup, I had it disabled using WorldGuard anyways. I just set this to 0 as some kind of fallback setting. Thanks for your answer.