Chance Cubes

Chance Cubes

46M Downloads

[1.12.2] Rewards "chancecubes:ore_sphere" & "chancecubes:ore_pillars" do nothing.

SonicX8000 opened this issue ยท 1 comments

commented

Minecraft: 1.12.2
Forge: 14.23.5.2847

Mods: 2
ChanceCubes-1.12.2-5.0.1.335
jei_1.12.2-4.15.0.291


These rewards from Giant Chance Cubes apparently do nothing. When you roll onto these rewards... this appears in the log...

For when you roll the "chancecubes:ore_sphere" reward...

[04:49:51] [Server thread/INFO] [chancecubes]: Triggered the reward with the name of: chancecubes:ore_sphere
[04:49:51] [Server thread/FATAL] [net.minecraft.server.MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: stream has already been operated upon or closed
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_212]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_212]
	at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185) [chd.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212]
Caused by: java.lang.IllegalStateException: stream has already been operated upon or closed
	at java.util.stream.AbstractPipeline.<init>(AbstractPipeline.java:210) ~[?:1.8.0_212]
	at java.util.stream.ReferencePipeline.<init>(ReferencePipeline.java:94) ~[?:1.8.0_212]
	at java.util.stream.ReferencePipeline$StatefulOp.<init>(ReferencePipeline.java:647) ~[?:1.8.0_212]
	at java.util.stream.SliceOps$1.<init>(SliceOps.java:120) ~[?:1.8.0_212]
	at java.util.stream.SliceOps.makeRef(SliceOps.java:120) ~[?:1.8.0_212]
	at java.util.stream.ReferencePipeline.skip(ReferencePipeline.java:411) ~[?:1.8.0_212]
	at chanceCubes.util.RewardsUtil.getRandomOreDict(RewardsUtil.java:305) ~[RewardsUtil.class:?]
	at chanceCubes.util.RewardsUtil.getRandomOre(RewardsUtil.java:227) ~[RewardsUtil.class:?]
	at chanceCubes.rewards.giantRewards.OreSphereReward.trigger(OreSphereReward.java:40) ~[OreSphereReward.class:?]
	at chanceCubes.registry.player.PlayerCCRewardRegistry.triggerReward(PlayerCCRewardRegistry.java:189) ~[PlayerCCRewardRegistry.class:?]
	at chanceCubes.registry.player.PlayerCCRewardRegistry.triggerRandomReward(PlayerCCRewardRegistry.java:178) ~[PlayerCCRewardRegistry.class:?]
	at chanceCubes.registry.global.GlobalCCRewardRegistry.triggerRandomReward(GlobalCCRewardRegistry.java:168) ~[GlobalCCRewardRegistry.class:?]
	at chanceCubes.blocks.BlockGiantCube.removedByPlayer(BlockGiantCube.java:77) ~[BlockGiantCube.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.removeBlock(PlayerInteractionManager.java:271) ~[or.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_180235_c(PlayerInteractionManager.java:265) ~[or.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_180237_b(PlayerInteractionManager.java:309) ~[or.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_180784_a(PlayerInteractionManager.java:154) ~[or.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_147345_a(NetHandlerPlayServer.java:693) ~[pa.class:?]
	at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:40) ~[lp.class:?]
	at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:10) ~[lp.class:?]
	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_212]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_212]
	at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
	... 5 more

For when you roll the "chancecubes:ore_pillars" reward...

[04:39:28] [Server thread/INFO] [chancecubes]: Triggered the reward with the name of: chancecubes:ore_pillars
[04:39:28] [Server thread/FATAL] [net.minecraft.server.MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: stream has already been operated upon or closed
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_212]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_212]
	at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185) [chd.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212]
Caused by: java.lang.IllegalStateException: stream has already been operated upon or closed
	at java.util.stream.AbstractPipeline.<init>(AbstractPipeline.java:210) ~[?:1.8.0_212]
	at java.util.stream.ReferencePipeline.<init>(ReferencePipeline.java:94) ~[?:1.8.0_212]
	at java.util.stream.ReferencePipeline$StatefulOp.<init>(ReferencePipeline.java:647) ~[?:1.8.0_212]
	at java.util.stream.SliceOps$1.<init>(SliceOps.java:120) ~[?:1.8.0_212]
	at java.util.stream.SliceOps.makeRef(SliceOps.java:120) ~[?:1.8.0_212]
	at java.util.stream.ReferencePipeline.skip(ReferencePipeline.java:411) ~[?:1.8.0_212]
	at chanceCubes.util.RewardsUtil.getRandomOreDict(RewardsUtil.java:305) ~[RewardsUtil.class:?]
	at chanceCubes.util.RewardsUtil.getRandomOre(RewardsUtil.java:227) ~[RewardsUtil.class:?]
	at chanceCubes.rewards.giantRewards.OrePillarReward.trigger(OrePillarReward.java:44) ~[OrePillarReward.class:?]
	at chanceCubes.registry.player.PlayerCCRewardRegistry.triggerReward(PlayerCCRewardRegistry.java:189) ~[PlayerCCRewardRegistry.class:?]
	at chanceCubes.registry.player.PlayerCCRewardRegistry.triggerRandomReward(PlayerCCRewardRegistry.java:178) ~[PlayerCCRewardRegistry.class:?]
	at chanceCubes.registry.global.GlobalCCRewardRegistry.triggerRandomReward(GlobalCCRewardRegistry.java:168) ~[GlobalCCRewardRegistry.class:?]
	at chanceCubes.blocks.BlockGiantCube.removedByPlayer(BlockGiantCube.java:77) ~[BlockGiantCube.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.removeBlock(PlayerInteractionManager.java:271) ~[or.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_180235_c(PlayerInteractionManager.java:265) ~[or.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_180237_b(PlayerInteractionManager.java:309) ~[or.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_180784_a(PlayerInteractionManager.java:154) ~[or.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_147345_a(NetHandlerPlayServer.java:693) ~[pa.class:?]
	at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:40) ~[lp.class:?]
	at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:10) ~[lp.class:?]
	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_212]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_212]
	at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
	... 5 more
commented

New version live on Curse. Reopen if the issue persists!