1
0
Fork 0
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:
PilzAdam 2013-07-20 14:50:19 +02:00 committed by RealBadAngel
parent d19c8b815d
commit cba90d4441
5 changed files with 14 additions and 2 deletions

View file

@ -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