createBlockData -> createBlockState

This commit is contained in:
dfsek
2021-12-17 08:36:43 -07:00
parent 2c12892111
commit 5401917703
9 changed files with 11 additions and 11 deletions
@@ -91,7 +91,7 @@ public class SpongeSchematicAddon implements AddonInitializer {
for(int y = 0; y < hei; y++) {
String block = data.get((int) arr[x + z * wid + y * wid * len]);
if(block.startsWith("minecraft:structure_void")) continue;
states[x][z][y] = platform.getWorldHandle().createBlockData(block);
states[x][z][y] = platform.getWorldHandle().createBlockState(block);
}
}
}