Changes

Jump to navigation Jump to search
→‎Bug fixes: archive item completed in 1.4.4
Line 4: Line 4:  
===Bug fixes===
 
===Bug fixes===
 
* ☐ <tt>Object.getOne</tt> doesn't copy the <tt>owner</tt> field, so it's not set correctly for most placed items.
 
* ☐ <tt>Object.getOne</tt> doesn't copy the <tt>owner</tt> field, so it's not set correctly for most placed items.
* ☐ <tt>TrashBear.updateItemWanted</tt> is hardcoded to assume <tt>Data\CookingRecipes</tt> field 2 is an item ID, but it can actually be an item ID and count like <tt>272 5</tt> (e.g. see <tt>CraftingRecipe</tt> constructor). That means it crashes if it randomly chooses a recipe with multiple outputs.
   
* ☐ In <tt>HoeDirt.seasonUpdate</tt>, change <code>!this.isGreenhouseDirt.Value && base.currentLocation is not IslandLocation</code> to <code>!base.currentLocation.SeedsIgnoreSeasonsHere()</code> so fertilizer doesn't disappear in other locations that ignore seasons.
 
* ☐ In <tt>HoeDirt.seasonUpdate</tt>, change <code>!this.isGreenhouseDirt.Value && base.currentLocation is not IslandLocation</code> to <code>!base.currentLocation.SeedsIgnoreSeasonsHere()</code> so fertilizer doesn't disappear in other locations that ignore seasons.
  
translators
8,437

edits

Navigation menu