Quark

Quark

143M Downloads

An error about the trapdoor

ahdg6 opened this issue ยท 1 comments

commented

Greeting,we have found a issue of quark.Here is the discription
When player open a Minecraft orginal trapdoor with a vine under it,the vine will be removed.But if the Minecraft original trapdoor is replaced with a quark tradoor,the vine won't be removed.What's more,if the player happen to stand on the opened quark trapdoor's center,a error will took place.The error force the game to end and when you enter the save again, the game will end immediately.
2019-07-16_13 20 42

The Crash Report:
java.lang.IllegalArgumentException: Cannot get property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[north, south, west, east]} as it does not exist in BlockStateContainer{block=minecraft:vine, properties=[east, north, south, up, west]}
at net.minecraft.block.state.BlockStateContainer$StateImplementation.func_177229_b(BlockStateContainer.java:209)
at vazkii.quark.base.block.BlockQuarkTrapdoor.isLadder(BlockQuarkTrapdoor.java:54)
at net.minecraftforge.common.ForgeHooks.isLivingOnLadder(ForgeHooks.java:664)
at net.minecraft.entity.EntityLivingBase.func_70617_f_(EntityLivingBase.java:1288)
at vazkii.quark.tweaks.feature.LookDownLadders.onPlayerTick(LookDownLadders.java:25)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_395_LookDownLadders_onPlayerTick_LivingUpdateEvent.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.onLivingUpdate(ForgeHooks.java:580)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2095)
at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:234)
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382)
at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:173)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:256)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Unknown Source)

Details:
Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
Entity ID: 391
Entity Name: ahdg
Entity's Exact location: 62.46, 70.80, 262.40
Entity's Block location: World: (62,70,262), Chunk: (at 14,4,6 in 3,16; contains blocks 48,0,256 to 63,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null
Stacktrace:
at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382)
at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:173)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)

commented

I cannot easily fix the vine attachment issue. However, I have solved the crash.