Changes

Jump to navigation Jump to search
→‎Possible breaking changes: added ShopMenu.forSale change
Line 76: Line 76:  
| <tt>itemPriceAndStock</tt>
 
| <tt>itemPriceAndStock</tt>
 
| Changed from <tt>Dictionary&lt;Item, int[]&gt;</tt> to <tt>Dictionary&lt;ISalable, int[]&gt;</tt>, but otherwise equivalent. (<tt>Item</tt> implements <tt>ISalable</tt>.)
 
| Changed from <tt>Dictionary&lt;Item, int[]&gt;</tt> to <tt>Dictionary&lt;ISalable, int[]&gt;</tt>, but otherwise equivalent. (<tt>Item</tt> implements <tt>ISalable</tt>.)
 +
|-
 +
| <tt>ShopMenu</tt>
 +
| <tt>forSale</tt>
 +
| Changed from <tt>List&lt;Item&gt;</tt> to <tt>List&lt;ISalable&gt;</tt>, but otherwise equivalent. (<tt>Item</tt> implements <tt>ISalable</tt>.)
 
|}</li>
 
|}</li>
 
<li>Mods previously checked if the current tool was a scythe with code like this:
 
<li>Mods previously checked if the current tool was a scythe with code like this:
97

edits

Navigation menu