mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +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
@@ -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