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
Infinite nodes obtainable from 2 slabs #786
Comments
Here is a video demonstrating this bug using freshly cloned minetest and minetest_game. You don't have to do this in a tower, you can place your infinite slabs anywhere you like. |
You only need to do the tower until the stack runs out, in this case, 2 slabs, then you are free to roam and place infinite slabs, you can use a tool to mine it, release the mouse button, etc. |
Preliminary diagnosis: The slabs' on_place callback is sometimes returning nil intending to clear the held stack of slabs, however the engine interprets a nil return value as "do not modify the held itemstack". So instead of reducing the slab count to zero, it keeps it at one. Only on the server side though - the client thinks the stack of slabs is gone and you are wielding merely your hand. |
Seems to work just fine. One extra slab is okay compared. Thanks for the quick fix! |
Using only two slabs, one can create indefinitely tall towers, gaining free materials. Place one slab and stand on its corner, hold sneak and jump, and hold down RMB.
Edit: Dragonop found this.
The text was updated successfully, but these errors were encountered: