quark stone marble slab crash server
Opened this issue · 9 comments
Looks like a crash in CustomSpawner, not Quark.
…On Sat, Oct 28, 2017, 07:59 hunter688 ***@***.***> wrote:
https://pastebin.com/sbqKaEy6
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#661>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABtir05nnKuErl2C8VTvNQsX9sGLz5pEks5swtDHgaJpZM4QJ1-k>
.
I see this:
java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=half, clazz=class net.minecraft.block.BlockSlab$EnumBlockHalf, values=[top, bottom]} as it does not exist in BlockStateContainer{block=quark:stone_marble_slab_double, properties=[prop]}
It looks like quark slab missing some properties. I have no similar crash with vanilla block or another modded block.
If you look lower in the crash you can see what triggered it is code on
CustomSpawner.
…On Sat, Oct 28, 2017, 09:59 hunter688 ***@***.***> wrote:
It looks like quark slab missing some properties. I have no similar crash
with vanilla block or another modded block.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#661 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABtir6r83PBIW5UrWGLYk9pGtMJNTswoks5swuzpgaJpZM4QJ1-k>
.
When I deobf/decompile CustomMobSpawner see this code:
public static boolean canCreatureSpawn(IBlockState blockstate, World world, BlockPos pos) { Block block = blockstate.getBlock(); if ((block instanceof BlockSlab)) line 623 ----> return (blockstate.isFullBlock()) || (blockstate.getValue(BlockSlab.HALF) == BlockSlab.EnumBlockHalf.TOP); if ((block instanceof BlockStairs)) { return blockstate.getValue(BlockStairs.HALF) == BlockStairs.EnumHalf.TOP; } return blockstate.isSideSolid(world, pos, EnumFacing.UP); }
I see no problem here.
They should check if the state exists, but I can probably make that not
happen.
…On Sat, Oct 28, 2017, 10:27 hunter688 ***@***.***> wrote:
When I deobf/decompile CustomMobSpawner see this code:
public static boolean canCreatureSpawn(IBlockState blockstate, World world, BlockPos pos)
{
Block block = blockstate.getBlock();
if ((block instanceof BlockSlab))
line 623 ----> return (blockstate.isFullBlock()) || (blockstate.getValue(BlockSlab.HALF) == BlockSlab.EnumBlockHalf.TOP);
if ((block instanceof BlockStairs)) {
return blockstate.getValue(BlockStairs.HALF) == BlockStairs.EnumHalf.TOP;
}
return blockstate.isSideSolid(world, pos, EnumFacing.UP);
}
I see no problem here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#661 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABtir3SmY79jf7XibMKgen_EbRMDFYokks5swvOWgaJpZM4QJ1-k>
.
Could You please make some workaround inside Quark? CMS isnt open source/there is no way effectively report issues etc.