Fix multiplayer crashes

This commit is contained in:
modmuss50 2019-07-31 17:34:53 +01:00
parent 398d74dedc
commit 739f4c21e8
13 changed files with 232 additions and 220 deletions

View file

@ -46,6 +46,12 @@ public class BlastFurnaceRecipe extends RebornRecipe {
heat = JsonHelper.getInt(jsonObject, "heat");
}
@Override
public void serialize(JsonObject jsonObject) {
super.serialize(jsonObject);
jsonObject.addProperty("heat", heat);
}
@Override
public boolean canCraft(final BlockEntity blockEntity) {
if (blockEntity instanceof IndustrialBlastFurnaceBlockEntity) {