mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Make range of tools configureable
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user