mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 06:20:05 +00:00
setBlockData -> setBlockState
This commit is contained in:
1 parent
23fcd4a651
commit
31e20b12c0
8 files changed
+15
-15
No files matched your search
+1
-1
@@ -113,7 +113,7 @@ public class TerraFlora implements Structure {
|
||||
.setIfPresent(Properties.EAST, faces.contains(Direction.EAST))
|
||||
.setIfPresent(Properties.WEST, faces.contains(Direction.WEST));
|
||||
}
|
||||
world.setBlockData(location.clone().add(0, i + c, 0), data, physics);
|
||||
world.setBlockState(location.clone().add(0, i + c, 0), data, physics);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user