skinsdb icon indicating copy to clipboard operation
skinsdb copied to clipboard

Hand range in creative mode is wrong

Open GreenXenith opened this issue 2 years ago • 2 comments

Hand range should be higher (10? I dont remember) when creative mode is enabled.

GreenXenith avatar Oct 19 '23 03:10 GreenXenith

This is actually a Minetest limitation. The hand range is overwritten by the "hand" slot item: https://github.com/minetest/minetest/blob/b1dec37adb16f7ccd21209cbdd8381865cdfb5ca/src/client/game.cpp#L3241-L3245

SmallJoker avatar Oct 19 '23 18:10 SmallJoker

This is actually a Minetest limitation. The hand range is overwritten by the "hand" slot item: https://github.com/minetest/minetest/blob/b1dec37adb16f7ccd21209cbdd8381865cdfb5ca/src/client/game.cpp#L3241-L3245

That is correct, but the range of the custom hand item can be changed if creative mode is enabled when registered.

GreenXenith avatar Oct 19 '23 18:10 GreenXenith