This commit is contained in:
Anuken
2020-05-28 21:13:25 -04:00
parent c5c8d646f7
commit a7f86b2ba6
12 changed files with 19 additions and 19 deletions

View File

@@ -129,7 +129,8 @@ public class JsonIO{
@Override
public Block read(Json json, JsonValue jsonData, Class type){
return Vars.content.getByName(ContentType.block, jsonData.asString());
Block block = Vars.content.getByName(ContentType.block, jsonData.asString());
return block == null ? Blocks.air : block;
}
});