Fix bug caused by ItemMinecart patch (#3672)
This commit is contained in:
parent
e5eb2e795b
commit
ab4c4db0d5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
IBlockState iblockstate1 = world.func_180495_p(blockpos.func_177977_b());
|
IBlockState iblockstate1 = world.func_180495_p(blockpos.func_177977_b());
|
||||||
- BlockRailBase.EnumRailDirection blockrailbase$enumraildirection1 = iblockstate1.func_177230_c() instanceof BlockRailBase ? (BlockRailBase.EnumRailDirection)iblockstate1.func_177229_b(((BlockRailBase)iblockstate1.func_177230_c()).func_176560_l()) : BlockRailBase.EnumRailDirection.NORTH_SOUTH;
|
- BlockRailBase.EnumRailDirection blockrailbase$enumraildirection1 = iblockstate1.func_177230_c() instanceof BlockRailBase ? (BlockRailBase.EnumRailDirection)iblockstate1.func_177229_b(((BlockRailBase)iblockstate1.func_177230_c()).func_176560_l()) : BlockRailBase.EnumRailDirection.NORTH_SOUTH;
|
||||||
+ BlockRailBase.EnumRailDirection blockrailbase$enumraildirection1 = iblockstate1.func_177230_c() instanceof BlockRailBase ? ((BlockRailBase)iblockstate.func_177230_c()).getRailDirection(world, blockpos, iblockstate, null) : BlockRailBase.EnumRailDirection.NORTH_SOUTH;
|
+ BlockRailBase.EnumRailDirection blockrailbase$enumraildirection1 = iblockstate1.func_177230_c() instanceof BlockRailBase ? ((BlockRailBase)iblockstate1.func_177230_c()).getRailDirection(world, blockpos.func_177977_b(), iblockstate1, null) : BlockRailBase.EnumRailDirection.NORTH_SOUTH;
|
||||||
|
|
||||||
if (enumfacing != EnumFacing.DOWN && blockrailbase$enumraildirection1.func_177018_c())
|
if (enumfacing != EnumFacing.DOWN && blockrailbase$enumraildirection1.func_177018_c())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue