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

Wrench messes up doors #3462

Closed
ouroborus opened this Issue Apr 18, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ouroborus

ouroborus commented Apr 18, 2018

Using a quartz wrench on a door throws an exception on the server and screws up the door.

[20:27:25] [Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=half, clazz=class net.minecraft.block.BlockDoor$EnumDoorHalf, values=[upper, lower]} as it does not exist in BlockStateContainer{block=minecraft:air, properties=[]}
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_161]
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_161]
        at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:721) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
Caused by: java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=half, clazz=class net.minecraft.block.BlockDoor$EnumDoorHalf, values=[upper, lower]} as it does not exist in BlockStateContainer{block=minecraft:air, properties=[]}
        at net.minecraft.block.state.BlockStateContainer$StateImplementation.func_177229_b(BlockStateContainer.java:201) ~[awu$a.class:?]
        at net.minecraft.block.BlockDoor.func_189540_a(BlockDoor.java:180) ~[aqa.class:?]
        at appeng.items.tools.quartz.ToolQuartzWrench.onItemUseFirst(ToolQuartzWrench.java:70) ~[ToolQuartzWrench.class:?]
        at net.minecraft.item.ItemStack.onItemUseFirst(ItemStack.java:200) ~[aip.class:?]
        at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:436) ~[or.class:?]
        at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:739) ~[pa.class:?]
        at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55) ~[ma.class:?]
        at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11) ~[ma.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_161]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_161]
        at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
        ... 5 more
  • Minecraft Version: 1.12.2
  • AE2 Version: rv5-stable-8
  • Forge Version: 1.12.2-14.23.2.2617

kylev added a commit to kylev/Applied-Energistics-2 that referenced this issue May 17, 2018

Remove call to neighborChanged() (AppliedEnergistics#3462)
No need to manually call neighbor changed on anyone, the engine
already schedules that when rotateBlock() is called. This just caused
funky-ness and an exception.

@yueh yueh closed this in 3e09c49 May 27, 2018

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