Changes

Jump to navigation Jump to search
→‎Possible breaking changes: + location lookup cache
Line 17: Line 17:  
<ul>
 
<ul>
 
<li>Various method signatures have changed, notably <tt>Item.canStackWith</tt>. In most cases just recompiling will fix those. (Don't forget to update the <tt>manifest.json</tt> version!)</li>
 
<li>Various method signatures have changed, notably <tt>Item.canStackWith</tt>. In most cases just recompiling will fix those. (Don't forget to update the <tt>manifest.json</tt> version!)</li>
 +
<li>Location lookups (e.g. using <tt>Game1.getLocationFromName</tt>) are now cached to improve performance. When removing or replacing a location, make sure to remove it from the cache too using <tt>Game1.removeLocationFromLocationLookup</tt>.</li>
 
<li>Some notable field/method changes:
 
<li>Some notable field/method changes:
  
translators
8,403

edits

Navigation menu