• Vanessa Dannenberg's avatar
    fix incorrect drop behavior when stipping bogus color · 9271f07f
    Vanessa Dannenberg authored
    in the case of full inv.
    
    Should be the same as normal Minetest behavior now:
    
    In survival mode, the node is deleted, then:
    
    * If there is room in your inv, you get whatever the node
      would normally give you.
    
    * If there's no room, the node drops to the ground as an item
      entity.
    
    In creative mode, the node is deleted, then:
    
    * If you don't already have one of the item, you get one.
    
    * If you already have one, or if there's no room in your
      inventory, "you'll get nothing and LIKE it!" :-)
    
    Also: made sure to check for creative priv as well as proper
    creative mode.
    9271f07f
Name
Last commit
Last update
locale Loading commit data...
textures Loading commit data...
.gitignore Loading commit data...
API.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
bottle_overlay.png Loading commit data...
changelog.txt Loading commit data...
depends.txt Loading commit data...
description.txt Loading commit data...
init.lua Loading commit data...
mod.conf Loading commit data...