Fix clients not being notified of block restores
This commit is contained in:
parent
c6e6ed9ffe
commit
dd592ebe88
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ mod_name=Zontreck's Library Mod
|
|||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=GPLv3
|
||||
# The mod version. See https://semver.org/
|
||||
mod_version=1201.13.042524.0409
|
||||
mod_version=1201.13.042524.0510
|
||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
|
|
|
@ -43,7 +43,7 @@ public class BlockRestoreRunner implements Runnable
|
|||
|
||||
level.playSound(null, pos, pop, ss, rng.nextFloat(0.75f,1.0f), rng.nextFloat(1));
|
||||
|
||||
level.setBlock(pos, prim.blockState, Block.UPDATE_NONE, 0);
|
||||
level.setBlock(pos, prim.blockState, Block.UPDATE_CLIENTS | Block.UPDATE_NONE, 0);
|
||||
|
||||
BlockEntity entity = level.getBlockEntity(pos);
|
||||
if(entity != null)
|
||||
|
|
Reference in a new issue