Disabled drop, Possible ?
Disabled drop, Possible ?
Deleted message
Last edited by Chiantos on Mon Sep 30, 2019 04:36, edited 1 time in total.
Re: Disabled drop, Possible ?
Why, what is the actual problem ?Chiantos wrote:disabled drop item for players
Things will still drop when you dig something while the inventory is full.
'My' wiki-pages: Build-a-home - basic-robot - basic_robot_csm - basic-machines - digtron - xdecor -
Map-Database
Map-Database
Re: Disabled drop, Possible ?
Deleted message
Last edited by Chiantos on Mon Sep 30, 2019 04:36, edited 1 time in total.
- AspireMint
- Member
- Posts: 415
- Joined: Mon Jul 09, 2012 12:59
- GitHub: AspireMint
- IRC: AspireMint
- In-game: AspireMint
- Location: Stuck at spawn
Re: Disabled drop, Possible ?
add this into your code:
it should work :-)
Code: Select all
function minetest.item_drop(itemstack, dropper, pos)
return itemstack
end
Re: Disabled drop, Possible ?
Deleted message
Who is online
Users browsing this forum: No registered users and 9 guests