lnjX / Minetest_TNG

The NeXt Game for the MGE [minetest_tng]
https://gamerbude.github.io/tng
GNU General Public License v3.0
10 stars 5 forks source link

[Bug] enable_item_drop preference not honored when set to false #31

Closed ghost closed 8 years ago

ghost commented 8 years ago

Setting the preference enable_item_drop to false does not work. I believe the cause is line 71 in item_pickup.lua:

local item_drop = core.setting_getbool("enable_item_drop") or true

will always evaluate to true.

lnjX commented 8 years ago

@zing269 Ups, will be fixed soon, thank you. :smiley: