Fixed an error with deserialization

This commit is contained in:
Adubbz 2015-04-12 20:09:48 +10:00
parent bd49407515
commit 01bc49eb65

View file

@ -119,6 +119,6 @@ public class GeneratorWaterside extends GeneratorCustomizable
this.amountPerChunk = json.get("amount_per_chunk").getAsInt();
this.maxRadius = json.get("max_radius").getAsInt();
this.state = GeneratorUtils.deserializeStateNonNull(json, "state", context);
this.replacedStates = context.deserialize(json.get("replaced_states"), IBlockState.class);
this.replacedStates = context.deserialize(json.get("replaced_states"), List.class);
}
}