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
Breaking a block will play a sound and show particles of where block was broken.
No sound played or particles shown.
Go into creative mode (can't break any blocks in survival for some reason) and break a block.
I dug into this a bit myself and it seems be from this piece of code (or look at code I copied below) where chunk.getPlayerLoaders() in fact is empty.
chunk.getPlayerLoaders()
This code snippet is taken from here.
if (createParticles) { Chunk chunk = this.getLoadedChunk(target.getPosition()); if (chunk != null) { this.addParticle(new DestroyBlockParticle(target.getPosition().toFloat().add(0.5, 0.5, 0.5), target.getState()), (Collection<Player>) chunk.getPlayerLoaders()); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Breaking a block will play a sound and show particles of where block was broken.
Actual Behavior
No sound played or particles shown.
Steps to Reproduce
Go into creative mode (can't break any blocks in survival for some reason) and break a block.
Debug information
I dug into this a bit myself and it seems be from this piece of code (or look at code I copied below) where
chunk.getPlayerLoaders()
in fact is empty.This code snippet is taken from here.
The text was updated successfully, but these errors were encountered: