fix: projector data sync
This commit is contained in:
parent
e78a9dda4d
commit
3f168dbd8e
@ -92,7 +92,7 @@ class ProjectorBlockEntity(pos: BlockPos, state: BlockState) :
|
||||
this.effects = effects
|
||||
if (level != null) {
|
||||
val level = level!!
|
||||
if (level.isClientSide && notify) {
|
||||
if (!level.isClientSide && notify) {
|
||||
sendBlockUpdated()
|
||||
}
|
||||
val addedEffects = effects.filterKeys { it !in oldEffects }
|
||||
|
Loading…
Reference in New Issue
Block a user