Fix vineballs

This commit is contained in:
Vincent Lee committed 2019-10-30 17:04:00 -05:00
1 parent 4a4b11c44a
commit 8bdf758bab
1 file changed
+1 -1
@@ -104,7 +104,7 @@ public class EntityVineBall extends ThrowableEntity implements IRendersAsItem {
if(block.isAir(state, world, pos)) {
BlockState stateSet = ModBlocks.solidVines.getDefaultState().with(propMap.get(dir.getOpposite()), true);
if(first && !ModBlocks.solidVines.getDefaultState().isValidPosition(world, pos)) break;
if(first && !stateSet.isValidPosition(world, pos)) break;
first = false;
world.setBlockState(pos, stateSet, 1 | 2);