mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 14:21:08 +00:00
Quilt progress 2
This commit is contained in:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user