mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Fix #1259 crash on butterfly cocoon creation
This commit is contained in:
1 parent
7437f4f364
commit
340b04fee0
1 file changed
+1
-1
@@ -208,7 +208,7 @@ public class ButterflyRoot extends SpeciesRoot implements IButterflyRoot {
|
||||
private BlockPos getNextPos(World world, BlockPos pos){
|
||||
IBlockState blockState;
|
||||
do {
|
||||
pos.down();
|
||||
pos = pos.down();
|
||||
blockState = world.getBlockState(pos);
|
||||
} while (!BlockUtil.canReplace(blockState, world, pos));
|
||||
|
||||
|
||||
Reference in new issue
Block a user