diff --git a/common/src/main/java/muramasa/antimatter/cover/BaseCover.java b/common/src/main/java/muramasa/antimatter/cover/BaseCover.java index e76738f3b..8be7ddc39 100644 --- a/common/src/main/java/muramasa/antimatter/cover/BaseCover.java +++ b/common/src/main/java/muramasa/antimatter/cover/BaseCover.java @@ -21,6 +21,7 @@ import muramasa.antimatter.network.packets.AbstractGuiEventPacket; import muramasa.antimatter.network.packets.CoverGuiEventPacket; import muramasa.antimatter.texture.Texture; +import muramasa.antimatter.util.AntimatterPlatformUtils; import net.minecraft.core.Direction; import net.minecraft.nbt.CompoundTag; import net.minecraft.resources.ResourceLocation; @@ -261,4 +262,8 @@ public CoverFactory getFactory() { return factory; } + protected void markAndNotifySource(){ + AntimatterPlatformUtils.markAndNotifyBlock(source().getTile().getLevel(), source().getTile().getBlockPos(), source().getTile().getLevel().getChunkAt(source().getTile().getBlockPos()), source().getTile().getBlockState(), source().getTile().getBlockState(), 1, 512); + } + }