Skip to content
Snippets Groups Projects
  1. Nov 29, 2014
    • SmallJoker's avatar
    • Ciaran Gultnieks's avatar
      Improve Lua API documentation · c30346ea
      Ciaran Gultnieks authored
      Changes:
        * Add extra documentation for remove_item.
      
          This isn't as silly as it sounds: iterate a list containing items with
          unique metadata each, and remove_item the first one you find, placing
          into a different - fine, except the remove will invariably remove the
          wrong one, leading to items being duplicated and others destroyed.
      
          Arguably it's a bug, and Inventory::removeItem should actually remove
          the item you tell it to. (i.e. if the passed ItemStack has metadata,
          match it). But it seems reasonable to just document the behaviour
          more clearly.
      
       * Improve string_to_pos documentation.
       * Clarify dig_node documentation (return value).
       * Better on_step documentation.
       * get_nodemeta -> get_meta.
       * Other minor fixes.
      c30346ea
  2. Nov 28, 2014
  3. Nov 27, 2014
  4. Nov 26, 2014
  5. Nov 25, 2014
  6. Nov 23, 2014
  7. Nov 22, 2014
  8. Nov 21, 2014
  9. Nov 20, 2014
  10. Nov 19, 2014
Loading