Quilt progress 2

This commit is contained in:
Zoë
2022-07-05 12:54:27 -07:00
parent 8d19368999
commit 639fc71f7a
7 changed files with 30 additions and 6 deletions
@@ -31,7 +31,7 @@ import com.dfsek.terra.api.handle.WorldHandle;
public class MinecraftWorldHandle implements WorldHandle {
private static final BlockState AIR = (BlockState) Blocks.AIR.getDefaultState();
private static BlockState AIR = null;
@Override
public @NotNull BlockState createBlockState(@NotNull String data) {
@@ -46,6 +46,7 @@ public class MinecraftWorldHandle implements WorldHandle {
@Override
public @NotNull BlockState air() {
if (AIR == null) AIR = (BlockState) Blocks.AIR.getDefaultState();
return AIR;
}