mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-23 16:49:10 +00:00
setBlockData -> setBlockState
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user