Skip to content

Commit 9ddd0cd

Browse files
committed
Make the p2p failing to establish link message more explicit by adding the dim of the endpoints
GTNewHorizons/GT-New-Horizons-Modpack#7887
1 parent f63612c commit 9ddd0cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/appeng/parts/p2p/PartP2PTunnelME.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ else if( !cw.getTunnel().getProxy().isActive() )
232232
{
233233
final TileEntity start = this.getTile();
234234
final TileEntity end = me.getTile();
235-
AELog.warn( "Failed to establish a ME P2P Tunnel between the tunnels at [x=%d, y=%d, z=%d] and [x=%d, y=%d, z=%d]", start.xCoord, start.yCoord, start.zCoord, end.xCoord, end.yCoord, end.zCoord );
235+
AELog.warn( "Failed to establish a ME P2P Tunnel between the tunnels at [x=%d, y=%d, z=%d, dim=%d] and [x=%d, y=%d, z=%d, dim=%d]",
236+
start.xCoord, start.yCoord, start.zCoord, start.hasWorldObj() ? start.getWorldObj().provider.dimensionId : Integer.MAX_VALUE,
237+
end.xCoord, end.yCoord, end.zCoord, end.hasWorldObj() ? end.getWorldObj().provider.dimensionId : Integer.MAX_VALUE );
236238
// :(
237239
}
238240
}

0 commit comments

Comments
 (0)