Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ public int getVisualConnections() {
public void setConnection(Direction side, boolean connected, boolean fromNeighbor) {
// fix desync between two connections.
// Can happen if a pipe side is blocked, and a new pipe is placed next to it.
if (getLevel() == null) {
return;
}
if (!getLevel().isClientSide) {
if (isConnected(side) == connected) {
return;
Expand Down
Loading