forked from mtcontrib/bitchange
Compare commits
5 Commits
nalc-1.2.0
...
master
Author | SHA1 | Date | |
---|---|---|---|
849f8f8cd7 | |||
f8441dad81 | |||
733ce6f46a | |||
7cf127aa9d | |||
498dadfee6 |
@ -1,6 +0,0 @@
|
||||
default
|
||||
pipeworks?
|
||||
quartz?
|
||||
technic_worldgen?
|
||||
wrench?
|
||||
maptools?
|
2
init.lua
2
init.lua
@ -38,7 +38,7 @@ if bitchange.enable_donationbox then
|
||||
dofile(bitchange.mod_path.."/donationbox.lua")
|
||||
end
|
||||
|
||||
if not minetest.setting_getbool("creative_mode") and bitchange.initial_give > 0 then
|
||||
if not minetest.settings:get_bool("creative_mode") and bitchange.initial_give > 0 then
|
||||
-- Giving initial money
|
||||
minetest.register_on_newplayer(function(player)
|
||||
player:get_inventory():add_item("main", "bitchange:mineninth "..bitchange.initial_give)
|
||||
|
Reference in New Issue
Block a user