We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Have tried to find the problem, no success...
The text was updated successfully, but these errors were encountered:
Okay the problem is here.
This happens: ice block destroyed -> water placed -> replaced by air
Would it be okay to add a return value to OnDestroyedByPlayer and then check with it, if the block should be replaced by air?
OnDestroyedByPlayer
Sorry, something went wrong.
This change works, too. Not sure if there are other blocks, like ice. This would be then less changes, then the idea above.
World->DigBlock(a_BlockX, a_BlockY, a_BlockZ); to
World->DigBlock(a_BlockX, a_BlockY, a_BlockZ);
if (a_OldBlock != E_BLOCK_ICE) { World->DigBlock(a_BlockX, a_BlockY, a_BlockZ); }
No branches or pull requests
Have tried to find the problem, no success...
The text was updated successfully, but these errors were encountered: