DieReicheErethons / Brewery

GNU General Public License v3.0
161 stars 182 forks source link

how to fix in 1.20.4 ? #611

Open 4hfdslh opened 7 months ago

4hfdslh commented 7 months ago

[17:50:36 INFO]: [Brewery] ERROR: absinthe: Unknown Material: Grass [17:50:36 INFO]: [Brewery] ERROR: No ingredients for: Absinthe [17:50:36 INFO]: [Brewery] ERROR: Loading the Recipe with id: 'absinthe' failed! [17:50:36 INFO]: [Brewery] ERROR: gr_absinthe: Unknown Material: Grass [17:50:36 INFO]: [Brewery] ERROR: No ingredients for: Green Absinthe [17:50:36 INFO]: [Brewery] ERROR: Loading the Recipe with id: 'gr_absinthe' failed! [17:50:36 INFO]: [Brewery] ERROR: potato_soup: Unknown Material: Grass [17:50:36 INFO]: [Brewery] ERROR: No ingredients for: Potato soup [17:50:36 INFO]: [Brewery] ERROR: Loading the Recipe with id: 'potato_soup' failed! [17:50:36 INFO]: [Brewery] ERROR: grass: Unknown Material: Grass [17:50:36 INFO]: [Brewery] ERROR: No ingredients for Cauldron-Recipe: Boiled herbs [17:50:36 INFO]: [Brewery] ERROR: Loading the Cauldron-Recipe with id: 'grass' failed! [17:50:36 INFO]: [Brewery] ERROR: poi_grass: Unknown Material: Grass [17:50:36 INFO]: [Brewery] ERROR: No ingredients for Cauldron-Recipe: Boiled acidy herbs [17:50:36 INFO]: [Brewery] ERROR: Loading the Cauldron-Recipe with id: 'poi_grass' failed!

mrchilliballs commented 7 months ago

It seems to be because grass got renamed to short_grass in recent update (I think it was 1.20.4). Some quick changes to the code could fix that.

Mikkel136 commented 7 months ago

To fix this locally, open config.yml and change all instances of "Grass" to "_ShortGrass". This can be done with Find & Replace in most text editors.

Even after the Pull Request gets merged, it'll be necessary to change pre-existing config files manually.