getSeedFromTillingGrass IllegalArgumentException
forresthopkinsa opened this issue ยท 0 comments
Version Information
Minecraft: 1.12.2
Forge: 14.23.5.2838
Mantle: 1.12-1.3.3.55
Natura: 1.12.2-4.3.2.69
Apple Core: 3.4.0
Hunger Overhaul: 1.12.2-1.3.3.jenkins148
Report Information
-
SpongeForge server
-
Mods (79): Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, Sponge, AppleCore, Astral Sorcery, AutoRegLib, Baubles, Biomes O' Plenty, Blockcraftery, CD4017BE_lib, Chameleon, CoFH Core, CoFH World, CodeChicken Lib, Construct's Armory, Cooking for Blockheads, DarknessLib, Davinci's Vessels, Dynamic Surroundings, Dynamic Trees, Dynamic Trees BOP, Dynamic Trees PHC, Dynamic Trees TC, Dynamic Trees for Natura, Dynamic Trees for Quark, Dynamic Trees for The Aether Legacy, Dynamic Trees for Tinkers Construct, Grue, Hunger Overhaul, Ice and Fire, Immersive Cables, Immersive Engineering, Inventory Tweaks, Just Enough Items, LLibrary, LibraryEx, Mantle, Mo' Bends, Moving World, MovingWorld CORE, Mystical Lib, Natura, NetherEx, OreLib Support Mod, Pam's HarvestCraft, PortalGun, Quark, Railcraft, RandomPatches, Redstone Flux, Refined Storage, Rustic, Serene Seasons, Shadowfacts' Forgelin, SpongeForge, Storage Drawers, Storage Drawers Extras, Thaumcraft, The Aether, The Beneath, Thermal Dynamics, Thermal Expansion, Thermal Foundation, Tinker's Aether, Tinker's JEI, Tinkers' Construct, Tumbleweed, UniDict, Vertically Stacked Dimensions, Waila, WanionLib, Xaero's Minimap, XaeroMinimapCore, YUNG's Better Caves, YUNG's Better Mineshafts, iChunUtil
-
Plugins (7): Minecraft, Minecraft Coder Pack, SpongeAPI, Sponge, LuckPerms, Nucleus, Plan
-
Player tills grass, error is logged. Server does not crash. Only happens sometimes, I can't reliably repro.
Log snip
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: java.lang.IllegalArgumentException
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.util.WeightedRandom.func_76273_a(SourceFile:18)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.util.WeightedRandom.func_76271_a(SourceFile:37)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at iguanaman.hungeroverhaul.module.seed.GrassSeedsModule.getSeedFromTillingGrass(GrassSeedsModule.java:36)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at iguanaman.hungeroverhaul.module.event.HungerOverhaulEventHook.onUseHoe(HungerOverhaulEventHook.java:335)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_950_HungerOverhaulEventHook_onUseHoe_UseHoeEvent.invoke(.dynamic)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.EventBus.forgeBridge$post(EventBus.java:756)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:706)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.event.ForgeEventFactory.onHoeUse(ForgeEventFactory.java:442)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.item.ItemHoe.func_180614_a(ItemHoe.java:50)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.item.ItemStack.func_179546_a(ItemStack.java:187)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:1457)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.NetHandlerPlayServer.redirect$zik000$impl$checkState(NetHandlerPlayServer.java:2961)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:741)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.PacketThreadUtil$1.redirect$zlc000$impl$redirectToPhaseTracker(SourceFile:540)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.util.Util.func_181617_a(SourceFile:46)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:310)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.redirect$zjg000$onRun(MinecraftServer.java:4682)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
[06:46:56] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at java.lang.Thread.run(Thread.java:748)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: java.lang.IllegalArgumentException
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.util.WeightedRandom.func_76273_a(SourceFile:18)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.util.WeightedRandom.func_76271_a(SourceFile:37)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at iguanaman.hungeroverhaul.module.seed.GrassSeedsModule.getSeedFromTillingGrass(GrassSeedsModule.java:36)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at iguanaman.hungeroverhaul.module.event.HungerOverhaulEventHook.onUseHoe(HungerOverhaulEventHook.java:335)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_950_HungerOverhaulEventHook_onUseHoe_UseHoeEvent.invoke(.dynamic)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.EventBus.forgeBridge$post(EventBus.java:756)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:706)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraftforge.event.ForgeEventFactory.onHoeUse(ForgeEventFactory.java:442)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.item.ItemHoe.func_180614_a(ItemHoe.java:50)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.item.ItemStack.func_179546_a(ItemStack.java:187)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:1457)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.NetHandlerPlayServer.redirect$zik000$impl$checkState(NetHandlerPlayServer.java:2961)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:741)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.PacketThreadUtil$1.redirect$zlc000$impl$redirectToPhaseTracker(SourceFile:540)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.util.Util.func_181617_a(SourceFile:46)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:310)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.redirect$zjg000$onRun(MinecraftServer.java:4682)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
[06:47:00] [Server thread/INFO] [STDERR]: [iguanaman.hungeroverhaul.module.seed.GrassSeedsModule:getSeedFromTillingGrass:45]: at java.lang.Thread.run(Thread.java:748)
Full log
https://gist.github.com/forresthopkinsa/ab94d52afb51b5f5446a9b6395b3430d