Caupona

Caupona

490k Downloads

[Bug] Mismatched key for JSON deserialization in Frying recipes

Prunoideae opened this issue ยท 1 comments

commented

Error Behaviour

if(data.has("ingredientPer"))
count=data.get("ingredientPerDish").getAsFloat();

Expected Behaviour

Key check should be correct.

Reproduce

Code error.

Crash Report

No response

Mod version

0.2.7

Server version

No response

Other mods and plugins

No response

commented

Set ingredientPerDish to correct value and assign a random value to ingredientPer by now. Would fix in next version