setBlockData -> setBlockState

This commit is contained in:
dfsek
2021-12-17 08:40:02 -07:00
parent 23fcd4a651
commit 31e20b12c0
8 changed files with 15 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ public class BufferedPulledBlock implements BufferedItem {
Vector3 mutable = origin.clone();
while(mutable.getY() > world.getMinHeight()) {
if(!world.getBlockState(mutable).isAir()) {
world.setBlockData(mutable, data);
world.setBlockState(mutable, data);
break;
}
mutable.subtract(0, 1, 0);