Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lootbag issue 1.0.20 #338

Closed
Moustik2002 opened this issue Oct 12, 2018 · 1 comment
Closed

Lootbag issue 1.0.20 #338

Moustik2002 opened this issue Oct 12, 2018 · 1 comment

Comments

@Moustik2002
Copy link

Hi, I like very much your modpack, but there is something crashing

Encountered an unexpected exception
net.minecraft.util.ReportedException: Ticking block entity
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:773)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388)
at mal.lootbags.LootbagsUtil.generateStacks(LootbagsUtil.java:238)
at mal.lootbags.Bag.getRandomItem(Bag.java:171)
at mal.lootbags.item.LootbagItem.getLootItem(LootbagItem.java:230)
at mal.lootbags.item.LootbagItem.getLootItem(LootbagItem.java:211)
at mal.lootbags.item.LootbagItem.generateInventory(LootbagItem.java:191)
at mal.lootbags.tileentity.TileEntityOpener.func_73660_a(TileEntityOpener.java:72)
at net.minecraft.world.World.func_72939_s(World.java:1835)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
... 4 more

Full crash report here : https://pastebin.com/zBwVWn5w

@Sunekaer
Copy link
Owner

#320 duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants