mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make range of tools configureable
This commit is contained in:
parent
d19c8b815d
commit
cba90d4441
5 changed files with 14 additions and 2 deletions
|
@ -100,6 +100,8 @@ ItemDefinition read_item_definition(lua_State* L,int index,
|
|||
}
|
||||
lua_pop(L, 1);
|
||||
|
||||
def.range = getfloatfield_default(L, index, "range", def.range);
|
||||
|
||||
// Client shall immediately place this node when player places the item.
|
||||
// Server will update the precise end result a moment later.
|
||||
// "" = no prediction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue