Fixed salvage deserializer swapping signature parameters

This commit is contained in:
nossr50 2019-05-10 11:30:50 -07:00
parent 7ad0a61c53
commit cc1eae150a

View File

@ -49,7 +49,7 @@ public class SalvageableSerializer implements TypeSerializer<Salvageable> {
int maximumQuantityReturned = value.getNode(MAXIMUM_QUANTITY_RETURNED).getValue(TypeToken.of(Integer.class));
int minimumLevel = value.getNode(OVERRIDE_LEVEL_REQUIREMENT).getValue(TypeToken.of(Integer.class));
return new Salvageable(item, itemReturnedBySalvage, maximumQuantityReturned, minimumLevel);
return new Salvageable(item, itemReturnedBySalvage, minimumLevel, maximumQuantityReturned);
}
@Override