1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

Use place_param2 client-side for item appearance & prediction (#11024)

This commit is contained in:
sfan5
2021-03-09 00:56:53 +01:00
committed by GitHub
parent a21402b38f
commit bf8fb2672e
5 changed files with 51 additions and 35 deletions

View File

@@ -119,6 +119,8 @@ void read_item_definition(lua_State* L, int index,
// "" = no prediction
getstringfield(L, index, "node_placement_prediction",
def.node_placement_prediction);
getintfield(L, index, "place_param2", def.place_param2);
}
/******************************************************************************/