mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
Update init.lua
this prevents pushing buttons in creative from running other mods field func
This commit is contained in:
parent
9df85d7752
commit
0aa1bb3a82
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||
end
|
||||
|
||||
creative_inventory.set_creative_formspec(player, start_i, start_i / (6*4) + 1)
|
||||
return true
|
||||
end)
|
||||
|
||||
if minetest.setting_getbool("creative_mode") then
|
||||
|
|
Loading…
Add table
Reference in a new issue