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
|
this.effects = effects
|
||||||
if (level != null) {
|
if (level != null) {
|
||||||
val level = level!!
|
val level = level!!
|
||||||
if (level.isClientSide && notify) {
|
if (!level.isClientSide && notify) {
|
||||||
sendBlockUpdated()
|
sendBlockUpdated()
|
||||||
}
|
}
|
||||||
val addedEffects = effects.filterKeys { it !in oldEffects }
|
val addedEffects = effects.filterKeys { it !in oldEffects }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user