Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hand range in creative mode is wrong #92

Open
GreenXenith opened this issue Oct 19, 2023 · 2 comments
Open

Hand range in creative mode is wrong #92

GreenXenith opened this issue Oct 19, 2023 · 2 comments

Comments

@GreenXenith
Copy link
Contributor

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

@SmallJoker
Copy link
Member

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

@GreenXenith
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants