fix: fix receptacle crash with FluidLoggedAPI. Fixes #875

This commit is contained in:
WinDanesz
2025-03-28 22:49:49 +01:00
parent c166bac323
commit 2eaa9b445c
@@ -27,7 +27,7 @@ public class TileEntityReceptacle extends TileEntity {
public void setElement(@Nullable Element element){
this.element = element;
world.notifyNeighborsRespectDebug(pos, blockType, true); // Update altar if connected
world.notifyNeighborsRespectDebug(pos, getBlockType(), true); // Update altar if connected
world.checkLight(pos);
}