Disabled drop, Possible ?

Post Reply
Chiantos
Member
Posts: 377
Joined: Sun Jan 15, 2017 09:04

Disabled drop, Possible ?

by Chiantos » Post

Deleted message
Last edited by Chiantos on Mon Sep 30, 2019 04:36, edited 1 time in total.

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: Disabled drop, Possible ?

by hajo » Post

Chiantos wrote:disabled drop item for players
Why, what is the actual problem ?

Things will still drop when you dig something while the inventory is full.

Chiantos
Member
Posts: 377
Joined: Sun Jan 15, 2017 09:04

Re: Disabled drop, Possible ?

by Chiantos » Post

Deleted message
Last edited by Chiantos on Mon Sep 30, 2019 04:36, edited 1 time in total.

User avatar
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 ?

by AspireMint » Post

add this into your code:

Code: Select all

function minetest.item_drop(itemstack, dropper, pos)
	return itemstack
end
it should work :-)

Chiantos
Member
Posts: 377
Joined: Sun Jan 15, 2017 09:04

Re: Disabled drop, Possible ?

by Chiantos » Post

Deleted message

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests