Hbm's Nuclear Tech Mod Reloaded

Hbm's Nuclear Tech Mod Reloaded

1M Downloads

Crash when placing Steel Grate

Renno231 opened this issue ยท 0 comments

commented

java.lang.IllegalArgumentException: Cannot set property PropertyInteger{name=height, clazz=class java.lang.Integer, values=[0, 1, 2, 3, 4, 5, 6, 7]} to 39 on block hbm:steel_grate, it is not an allowed value
at net.minecraft.block.state.BlockStateContainer$StateImplementation.func_177226_a(BlockStateContainer.java:235)
at com.hbm.blocks.generic.BlockGrate.getStateForPlacement(BlockGrate.java:91)
at team.cqr.cqrepoured.world.structure.protection.ProtectedRegionHelper.getBlockFromItem(ProtectedRegionHelper.java:194)
at team.cqr.cqrepoured.event.world.structure.protection.ProtectedRegionEventHandler.onRightClickBlockEvent(ProtectedRegionEventHandler.java:281)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_198_ProtectedRegionEventHandler_onRightClickBlockEvent_RightClickBlock.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:1137)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_187099_a(PlayerControllerMP.java:398)
at net.optifine.override.PlayerControllerOF.func_187099_a(PlayerControllerOF.java:96)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1579)
at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:2254)
at net.minecraft.client.Minecraft.func_184118_az(Minecraft.java:2020)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1808)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)

(MixinBooter) Mixins in Stacktrace:
net/minecraftforge/common/ForgeHooks:
com.supermartijn642.core.mixin.ForgeHooksMixin (supermartijn642corelib.mixins.json) [unknown-location]

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

-- Head --
Thread: Client thread
Stacktrace:
at net.minecraft.block.state.BlockStateContainer$StateImplementation.func_177226_a(BlockStateContainer.java:235)
at com.hbm.blocks.generic.BlockGrate.getStateForPlacement(BlockGrate.java:91)
at team.cqr.cqrepoured.world.structure.protection.ProtectedRegionHelper.getBlockFromItem(ProtectedRegionHelper.java:194)
at team.cqr.cqrepoured.event.world.structure.protection.ProtectedRegionEventHandler.onRightClickBlockEvent(ProtectedRegionEventHandler.java:281)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_198_ProtectedRegionEventHandler_onRightClickBlockEvent_RightClickBlock.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:1137)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_187099_a(PlayerControllerMP.java:398)
at net.optifine.override.PlayerControllerOF.func_187099_a(PlayerControllerOF.java:96)
at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1579)
at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:2254)
at net.minecraft.client.Minecraft.func_184118_az(Minecraft.java:2020)