fix: fix receptacle crash with FluidLoggedAPI. Fixes #875
This commit is contained in:
@@ -27,7 +27,7 @@ public class TileEntityReceptacle extends TileEntity {
|
|||||||
|
|
||||||
public void setElement(@Nullable Element element){
|
public void setElement(@Nullable Element element){
|
||||||
this.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);
|
world.checkLight(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user