plug.setConnectorBlockID(socketBlockID);
socket.setConnectorBlockID(plugBlockID);
//notify renderable block of connection so it can redraw with stretching
RenderableBlock socketRB = workspace.getEnv().getRenderableBlock(socketBlockID);
socketRB.blockConnected(socket, plugBlockID);
if (clickSound != null) {
//System.out.println("playing click sound");
clickSound.play();
}