diff options
author | sfan5 <sfan5@live.de> | 2021-03-09 00:56:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 00:56:53 +0100 |
commit | bf8fb2672e53f6a3eff15184328b881446a183dd (patch) | |
tree | f8668369f7bf251c9ceb28cc51731ddb66434c28 /src/script/common | |
parent | a21402b38faab484195224205ef0bbd112f72162 (diff) | |
download | minetest-bf8fb2672e53f6a3eff15184328b881446a183dd.tar.gz minetest-bf8fb2672e53f6a3eff15184328b881446a183dd.tar.bz2 minetest-bf8fb2672e53f6a3eff15184328b881446a183dd.zip |
Use place_param2 client-side for item appearance & prediction (#11024)
Diffstat (limited to 'src/script/common')
-rw-r--r-- | src/script/common/c_content.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 6995f6b61..eca0c89d1 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -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); } /******************************************************************************/ |