mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
Fix vineballs
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user